From a263647f23838ec65002d44ba4a80fd8d23f44cb Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Sat, 18 Oct 2014 20:20:30 +0200 Subject: [PATCH] add new make target 'test_standalone' --- makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/makefile b/makefile index 9925ce9..9164e7d 100644 --- a/makefile +++ b/makefile @@ -132,6 +132,11 @@ install: $(LIBNAME) test: $(LIBNAME) demo/demo.o $(CC) $(CFLAGS) demo/demo.o $(LIBNAME) -o test +test_standalone: CFLAGS+=-DLTM_DEMO_TEST_VS_MTEST=0 + +test_standalone: $(LIBNAME) demo/demo.o + $(CC) $(CFLAGS) demo/demo.o $(LIBNAME) -o test + .PHONY: mtest mtest: cd mtest ; $(CC) $(CFLAGS) mtest.c -o mtest