uCBQN/test/ffi/makefile
2022-05-27 23:57:56 +03:00

7 lines
173 B
Makefile

test: build
@../../BQN test.bqn > test.got
@diff --color -su test.expected test.got
build:
$(CC) -O3 -g -c -fpic ffiTest.c -o ffiTest.o
$(CC) -shared -olib.so ffiTest.o