aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Tandy <ryan@nardis.ca>2012-02-26 20:24:23 -0800
committerRyan Tandy <ryan@nardis.ca>2012-02-26 20:24:23 -0800
commitd4d577213b938db75005f88b5085db1874c4eb51 (patch)
tree3067f29990f0e8ba23db78f0b4038cdb4112cb65
parent74a3fd2430abc1129ecb7663e2a4914336b26501 (diff)
downloadmirror-meh-d4d577213b938db75005f88b5085db1874c4eb51.tar.gz
mirror-meh-d4d577213b938db75005f88b5085db1874c4eb51.tar.bz2
mirror-meh-d4d577213b938db75005f88b5085db1874c4eb51.zip
make tests build again
-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