20 lines
305 B
Makefile
20 lines
305 B
Makefile
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) $^
|
|
|
|
t: src/main.zig
|
|
$(ZIGC) test $^
|
|
|
|
d: src/main.zig
|
|
$(ZIGC) build-exe $(ZIGOPTS) -freference-trace $^
|