aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--test/test.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4455b14..0e3a5dd 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ meh: $(OBJFILES)
test: $(TESTTARGET)
./$(TESTTARGET)
-test/test: test/test.o $(filter-out src/main.o, $(OBJFILES))
+test/test: test/test.o $(filter-out src/main.o src/xlib.o, $(OBJFILES))
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
-include $(DEPFILES)
diff --git a/test/test.c b/test/test.c
index 926d5c2..82e450b 100644
--- a/test/test.c
+++ b/test/test.c
@@ -3,6 +3,7 @@
#include "sys/time.h"
#include "../src/meh.h"
+#include "../src/scale.h"
#define TESTRUNS 20
#define STARTTEST(name) int test_##name(){ testname = #name; testsrun++; do