Simple makefile.
parent
0e2043c5e6
commit
6038a277f3
|
@ -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 $^
|
Reference in New Issue