Simple makefile.

master
Philippe Pittoli 2022-12-21 23:53:54 +01:00
parent 0e2043c5e6
commit 6038a277f3
1 changed files with 16 additions and 0 deletions

16
zig-impl/makefile Normal file
View File

@ -0,0 +1,16 @@
all:
ZIGC = zig
ZIGOPTS = -OReleaseSmall
c: src/send-msg.zig
$(ZIGC) build-exe $(ZIGOPTS) $^
s: src/receive-msg.zig
$(ZIGC) build-exe $(ZIGOPTS) $^
m: src/main.zig
$(ZIGC) build-exe $(ZIGOPTS) $^
d: src/main.zig
$(ZIGC) build-exe $(ZIGOPTS) -freference-trace $^