2023-02-09 17:21:54 +01:00
|
|
|
# No sugar for you!
|
|
|
|
|
|
|
|
build: lib
|
2023-04-29 01:33:32 +02:00
|
|
|
gcc -Os -I. -static -o app app.c libipc.a
|
2023-02-09 17:21:54 +01:00
|
|
|
|
|
|
|
lib:
|
2023-04-29 01:33:32 +02:00
|
|
|
zig build-lib ipc.zig -OReleaseSmall
|
2023-02-09 17:21:54 +01:00
|
|
|
|
|
|
|
run:
|
2023-04-29 01:33:32 +02:00
|
|
|
$(VALGRIND) ./app
|
2023-02-09 17:21:54 +01:00
|
|
|
|
|
|
|
include ../mk/makefile.valgrind
|
|
|
|
|
2023-04-29 01:33:32 +02:00
|
|
|
clean:
|
|
|
|
rm *.a *.o app
|