drop/zig-lib_no-sugar/makefile

16 lines
201 B
Makefile

# No sugar for you!
build: lib
gcc -Os -I. -static -o app app.c libipc.a
lib:
zig build-lib ipc.zig -OReleaseSmall
run:
$(VALGRIND) ./app
include ../mk/makefile.valgrind
clean:
rm *.a *.o app