android/emCmocka/tests/simple_test/Makefile

7 lines
200 B
Makefile

DEFS=-I../../include -DHAVE_STDIO_H -DHAVE_SETJMP_H
all:
gcc $(DEFS) -o cmocka.o -c ../../src/cmocka.c
gcc $(DEFS) -o test_basics.o -c ../test_basics.c
gcc $(DEFS) -o a.out test_basics.o cmocka.o