diff options
Diffstat (limited to 'tests/fs-tests/simple/Makefile')
-rw-r--r-- | tests/fs-tests/simple/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/fs-tests/simple/Makefile b/tests/fs-tests/simple/Makefile new file mode 100644 index 0000000..07ddf65 --- /dev/null +++ b/tests/fs-tests/simple/Makefile @@ -0,0 +1,26 @@ + +ifeq ($(origin CC),default) +CC = gcc +endif + +CFLAGS := $(CFLAGS) -Wall -g -O2 -I../lib + +LDFLAGS := $(LDFLAGS) + +TARGETS = test_1 \ + test_2 \ + ftrunc + +all: $(TARGETS) + +$(TARGETS): ../lib/tests.o + +../lib/tests.o: ../lib/tests.h + +clean: + rm -f *.o $(TARGETS) + +tests: all + ./test_1 --sync + ./test_2 --sync + ./ftrunc |