diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-18 12:48:20 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-18 12:48:20 +0200 |
commit | 9d802a7b5617b4f4921ca3ec73bd3e46085297aa (patch) | |
tree | 7632c855c0708eeff948a0f09617d601f2dd3154 /Makefile | |
parent | reduce code complexity (diff) | |
download | mds-9d802a7b5617b4f4921ca3ec73bd3e46085297aa.tar.gz mds-9d802a7b5617b4f4921ca3ec73bd3e46085297aa.tar.bz2 mds-9d802a7b5617b4f4921ca3ec73bd3e46085297aa.tar.xz |
reduce code complexity
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -79,8 +79,11 @@ LIBOBJ = linked-list hash-table fd-table mds-message util all: bin/mds bin/mds-server bin/libmdsserver.so -MDS_SERVER_OBJ = mds-server/mds-server mds-server/interception_condition mds-server/client \ - mds-server/multicast mds-server/queued_interception +MDS_SERVER_OBJ_ = mds-server interception_condition client multicast \ + queued_interception globals signals interceptors \ + sending +MDS_SERVER_OBJ = $(foreach O,$(MDS_SERVER_OBJ_),mds-server/$(O)) + bin/mds-server: $(foreach O,$(MDS_SERVER_OBJ),obj/$(O).o) bin/libmdsserver.so mkdir -p $(shell dirname $@) $(CC) $(C_FLAGS) -o $@ $(LDS) $(foreach O,$(MDS_SERVER_OBJ),obj/$(O).o) |