Obsolete
/
libipc-old
Archived
3
0
Fork 0
This repository has been archived on 2024-06-18. You can view files and clone it, but cannot push or open issues/pull-requests.
libipc-old/zig-impl/makefile

25 lines
427 B
Makefile

all:
ZIGBUSEOPTS ?= -OReleaseSmall
ZIGUSROPTS ?= -freference-trace
ZIGC ?= zig
ZIGOPTS ?= $(ZIGBUSEOPTS) $(ZIGUSROPTS)
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 $(ZIGOPTS) $^
d: src/main.zig
$(ZIGC) build-exe $(ZIGOPTS) $^
o: $(SRC)
$(ZIGC) test $(ZIGOPTS) $^