android/emCmocka/example/src_example/Makefile

10 lines
250 B
Makefile

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