diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-04-20 13:21:54 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-04-20 13:21:54 +0200 |
commit | e20b2956e4d39fd8698a01d121916827d3bf0e63 (patch) | |
tree | d4bf8526d33ec1f100fba04655760b9dddc2d2f7 /Makefile | |
parent | not too much... (diff) | |
download | mds-e20b2956e4d39fd8698a01d121916827d3bf0e63.tar.gz mds-e20b2956e4d39fd8698a01d121916827d3bf0e63.tar.bz2 mds-e20b2956e4d39fd8698a01d121916827d3bf0e63.tar.xz |
misc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -64,14 +64,15 @@ C_FLAGS = $(OPTIMISE) $(WARN) -std=$(STD) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) \ .PHONY: all all: bin/mds + bin/mds: obj/mds.o mkdir -p bin gcc $(C_FLAGS) -o $@ $^ -obj/mds.o: src/mds.c +obj/%.o: src/%.c src/*.h mkdir -p obj - gcc $(C_FLAGS) -c -o $@ $^ + gcc $(C_FLAGS) -c -o $@ $< |