Obsolete
/
libipc-old
Archived
3
0
Fork 0

Makefile++.

master
Philippe Pittoli 2022-12-23 02:36:10 +01:00
parent ca0d6adbc6
commit 8b10612456
1 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,9 @@
all: all:
ZIGC = zig ZIGBUSEOPTS ?= -OReleaseSmall
ZIGOPTS = -OReleaseSmall $(ZIGUSROPTS) ZIGUSROPTS ?= -freference-trace
ZIGC ?= zig
ZIGOPTS ?= $(ZIGBUSEOPTS) $(ZIGUSROPTS)
c: src/send-msg.zig c: src/send-msg.zig
$(ZIGC) build-exe $(ZIGOPTS) $^ $(ZIGC) build-exe $(ZIGOPTS) $^
@ -16,7 +18,7 @@ t: src/main.zig
$(ZIGC) test $(ZIGOPTS) $^ $(ZIGC) test $(ZIGOPTS) $^
d: src/main.zig d: src/main.zig
$(ZIGC) build-exe $(ZIGOPTS) -freference-trace $^ $(ZIGC) build-exe $(ZIGOPTS) $^
o: $(SRC) o: $(SRC)
$(ZIGC) test $(ZIGOPTS) $^ $(ZIGC) test $(ZIGOPTS) $^