config.mak change should imply recompile (dependency in makefile)
authornsz <nsz@port70.net>
Tue, 10 Apr 2012 09:43:40 +0000 (11:43 +0200)
committernsz <nsz@port70.net>
Tue, 10 Apr 2012 09:43:40 +0000 (11:43 +0200)
Makefile.inc
README

index fa84a1b..05d8689 100644 (file)
@@ -12,7 +12,7 @@ RANLIB=ranlib
 CFLAGS += -g -D_POSIX_C_SOURCE=200809L -D_GNU_SOURCE -std=c99 -pipe -Wall -Wno-unused-function -Wno-missing-braces
 LDFLAGS += -g -lpthread -lrt -lm
 
--include $(TROOT)/config.mak
+include $(TROOT)/config.mak
 
 CFLAGS += -I$(TROOT)/common
 
@@ -27,7 +27,7 @@ clean:
 .c.o:
        $(CC) $(CFLAGS) -c -o $@ $<
 
-$(OBJS): $(TROOT)/common/test.h
+$(OBJS): $(TROOT)/common/test.h $(TROOT)/config.mak
 
 tests.h: $(OBJS)
        nm -f posix $+ |awk ' \
diff --git a/README b/README
index 5fc8bb3..ce2ba8e 100644 (file)
--- a/README
+++ b/README
@@ -7,7 +7,7 @@ build tests:
        # edit config.mak
        make
 run tests:
-       make
+       make t
 run benchmarks:
        make b