diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-04-26 20:30:45 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-04-26 20:30:45 +0200 |
commit | 3df364ebb1e5d412bcbddc337871c921d390172c (patch) | |
tree | d41f6f3f3cc8ad787596dc0b786cd6fbca21b1c2 /Makefile | |
parent | m fixes + store client information in a hash table and in a linked list (diff) | |
download | mds-3df364ebb1e5d412bcbddc337871c921d390172c.tar.gz mds-3df364ebb1e5d412bcbddc337871c921d390172c.tar.bz2 mds-3df364ebb1e5d412bcbddc337871c921d390172c.tar.xz |
add table optimised for file descriptors
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -60,7 +60,7 @@ C_FLAGS = $(OPTIMISE) $(WARN) -std=$(STD) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) \ # Object files for the libary -LIBOBJ = linked-list hash-table +LIBOBJ = linked-list hash-table fd-table # Build rules. @@ -73,7 +73,7 @@ bin/%: obj/%.o bin/libmdsserver.so mkdir -p $(shell dirname $@) gcc $(C_FLAGS) -o $@ -Lbin -lmdsserver obj/$*.o -obj/%.o: src/%.c src/%.h src/config.h +obj/%.o: src/%.c src/*.h src/libmdsserver/*.h mkdir -p $(shell dirname $@) gcc $(C_FLAGS) -Isrc -c -o $@ $< @@ -82,7 +82,7 @@ bin/libmdsserver.so: $(foreach O,$(LIBOBJ),obj/libmdsserver/$(O).o) mkdir -p $(shell dirname $@) gcc $(C_FLAGS) -shared -o $@ $^ -obj/libmdsserver/%.o: src/libmdsserver/%.c src/libmdsserver/%.h +obj/libmdsserver/%.o: src/libmdsserver/%.c src/libmdsserver/*.h mkdir -p $(shell dirname $@) gcc $(C_FLAGS) -fPIC -c -o $@ $< |