summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index cfe05e7..3bff2cd 100644
--- a/Makefile
+++ b/Makefile
@@ -8,8 +8,6 @@ TESTS:=$(patsubst ./%.c,build/%,$(_TESTS))
LIMOX=build/limox
all: build $(OBJ) $(TESTS) $(LIMOX)
- @echo "Running testsuite ..."
- find build/tests -type f -exec {} \;
build:
mkdir -p build/tests
@@ -20,8 +18,9 @@ $(LIMOX): $(OBJ) build/main.o
build/%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)
-build/tests/%: tests/%.c
+build/tests/%: tests/%.c $(OBJ)
$(CC) -o $@ $< $(OBJ) $(CFLAGS)
+ $@
.PHONY: clean