add new make target 'test_standalone'
This commit is contained in:
parent
d2458e35e1
commit
a263647f23
5
makefile
5
makefile
@ -132,6 +132,11 @@ install: $(LIBNAME)
|
|||||||
test: $(LIBNAME) demo/demo.o
|
test: $(LIBNAME) demo/demo.o
|
||||||
$(CC) $(CFLAGS) demo/demo.o $(LIBNAME) -o test
|
$(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
|
.PHONY: mtest
|
||||||
mtest:
|
mtest:
|
||||||
cd mtest ; $(CC) $(CFLAGS) mtest.c -o mtest
|
cd mtest ; $(CC) $(CFLAGS) mtest.c -o mtest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user