add new make target 'test_standalone'

This commit is contained in:
Steffen Jaeckel 2014-10-18 20:20:30 +02:00
parent d2458e35e1
commit a263647f23
1 changed files with 5 additions and 0 deletions

View File

@ -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