From d4d577213b938db75005f88b5085db1874c4eb51 Mon Sep 17 00:00:00 2001 From: Ryan Tandy Date: Sun, 26 Feb 2012 20:24:23 -0800 Subject: make tests build again --- Makefile | 2 +- test/test.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3