aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2017-11-26 14:10:33 +0000
committerHarry Jeffery <harry@exec64.co.uk>2017-11-26 14:10:33 +0000
commitfe4d9bcf92b504e4a67600f90aa57c1f9791c0a6 (patch)
tree2db8c9669b33b6351db757c282e9c5e4752a7a13 /Makefile
parentf9b1bb2276a3483aa7cfa785c6dff5e040e9b0f3 (diff)
downloadimv-fe4d9bcf92b504e4a67600f90aa57c1f9791c0a6.tar.gz
Update loader unit tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cbf8d20..15caa29 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ $(BUILDDIR):
$(BUILDDIR)/%.o: src/%.c
$(CC) -c $(CFLAGS) $(CPPFLAGS) -o $@ $<
-$(BUILDDIR)/test_%: test/%.c src/%.c
+$(BUILDDIR)/test_%: test/%.c $(filter-out src/main.c, $(wildcard src/*.c))
$(CC) -o $@ -Isrc $(TFLAGS) $^ $(LDFLAGS) $(TLIBS)
check: $(BUILDDIR) $(TESTS)