17 lines
202 B
Makefile
17 lines
202 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
|