From 01e7aaab89ba9fc0526392d49611667cf310f247 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 4 Sep 2015 15:04:15 -0500 Subject: [PATCH] temp build test func --- libs/libks/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/libs/libks/Makefile b/libs/libks/Makefile index 250280766f..84a089a83b 100644 --- a/libs/libks/Makefile +++ b/libs/libks/Makefile @@ -20,7 +20,15 @@ $(MYLIB): $(OBJS) $(HEADERS) $(SRC) ranlib $(MYLIB) %.o: %.c $(HEADERS) - $(CC) $(CC_CFLAGS) $(CFLAGS) -c $< -o $@ + $(CC) $(CC_CFLAGS) $(CFLAGS) $(CXFLAGS) -c $< -o $@ -clean: +test-clean: + rm -f test/testpools + +clean: test-clean rm -f *.o src/*.o libks.a *~ src/*~ src/include/*~ + +test/testpools: $(MYLIB) test/testpools.c + $(CC) $(CXFLAGS) test/testpools.c -Isrc/include/ libks.a -o test/testpools + +test: test/testpools