drop/drop/makefile

21 lines
275 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
# Another library.
lib-alt:
zig build-lib test-gpa2.zig -OReleaseSmall
clean:
rm app *.a *.o