aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7e40bf1..c130dfb 100644
--- a/Makefile
+++ b/Makefile
@@ -48,7 +48,7 @@ $(BUILDDIR)/%.o: src/%.c
$(BUILDDIR)/test_%: test/%.c src/%.c
@echo "BUILDING $@"
- $(MUTE)$(CC) -o $@ -Isrc $(TFLAGS) $(LDFLAGS) -lcmocka $^
+ $(MUTE)$(CC) -o $@ -Isrc $(TFLAGS) $^ $(LDFLAGS) -lcmocka
check: $(BUILDDIR) $(TESTS)
@echo "RUNNING TESTS"