Archived
3
0
This repository has been archived on 2024-06-18. You can view files and clone it, but cannot push or open issues or pull requests.
libipc-old/zig-impl/makefile
2022-12-23 02:36:10 +01:00

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) $^