Makefile.
parent
9d1fef34a6
commit
200219d2fe
|
@ -1,7 +1,7 @@
|
||||||
all:
|
all:
|
||||||
|
|
||||||
ZIGC = zig
|
ZIGC = zig
|
||||||
ZIGOPTS = -OReleaseSmall
|
ZIGOPTS = -OReleaseSmall $(ZIGUSROPTS)
|
||||||
|
|
||||||
c: src/send-msg.zig
|
c: src/send-msg.zig
|
||||||
$(ZIGC) build-exe $(ZIGOPTS) $^
|
$(ZIGC) build-exe $(ZIGOPTS) $^
|
||||||
|
@ -13,7 +13,10 @@ m: src/main.zig
|
||||||
$(ZIGC) build-exe $(ZIGOPTS) $^
|
$(ZIGC) build-exe $(ZIGOPTS) $^
|
||||||
|
|
||||||
t: src/main.zig
|
t: src/main.zig
|
||||||
$(ZIGC) test $^
|
$(ZIGC) test $(ZIGOPTS) $^
|
||||||
|
|
||||||
d: src/main.zig
|
d: src/main.zig
|
||||||
$(ZIGC) build-exe $(ZIGOPTS) -freference-trace $^
|
$(ZIGC) build-exe $(ZIGOPTS) -freference-trace $^
|
||||||
|
|
||||||
|
o: $(SRC)
|
||||||
|
$(ZIGC) test $(ZIGOPTS) $^
|
||||||
|
|
Reference in New Issue