android/emCmocka/example/src_example/Makefile

10 lines
250 B
Makefile
Raw Normal View History

2019-05-25 00:39:46 +01:00
DEFS_TO_REMOVE=-DHAVE_SETJMP_H -DHAVE_STDIO_H
all:
gcc -I../../include $(DEFS_TO_REMOVE) -o cmocka.o -c ../../src/cmocka.c
gcc -I../../include -o simple_test.o -c simple_test.c
gcc -o a.out cmocka.o simple_test.o
clean:
rm -rf *.o
rm -rf a.out