Make fsatrace a dependency of the test target instead of all In particular, the fsatest tool does not need to be built to run the tests. Change-Id: I7ccbf779e698a6f1084241388607c06f99e13793
diff --git a/Makefile b/Makefile index cb7b017..7247ed7 100644 --- a/Makefile +++ b/Makefile
@@ -58,7 +58,7 @@ rm -f fsatest$(EXE) fsatest32$(EXE) $(patsubst %.c,%.o,$(FSATEST_SRCS)) $(patsubst %.c,%.d,$(FSATEST_SRCS)) TEST_CC_CMD=$(CC) -c -D_GNU_SOURCE -D_DEFAULT_SOURCE=1 -std=c99 src/fsatrace.c -o /tmp/fsatrace.o -test: all +test: fsatrace$(EXE) ./fsatrace$(EXE) ewrmdqt - -- cp $(LS) /tmp/foo ./fsatrace$(EXE) ewrmdqt - -- mv -f /tmp/foo /tmp/bar ./fsatrace$(EXE) ewrmdqt - -- gzip -f /tmp/bar