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

25 lines
427 B
Makefile
Raw Normal View History

2022-12-21 23:53:54 +01:00
all:
2022-12-23 02:36:10 +01:00
ZIGBUSEOPTS ?= -OReleaseSmall
ZIGUSROPTS ?= -freference-trace
ZIGC ?= zig
ZIGOPTS ?= $(ZIGBUSEOPTS) $(ZIGUSROPTS)
2022-12-21 23:53:54 +01:00
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) $^
2022-12-22 08:30:15 +01:00
t: src/main.zig
2022-12-23 00:53:47 +01:00
$(ZIGC) test $(ZIGOPTS) $^
2022-12-22 08:30:15 +01:00
2022-12-21 23:53:54 +01:00
d: src/main.zig
2022-12-23 02:36:10 +01:00
$(ZIGC) build-exe $(ZIGOPTS) $^
2022-12-23 00:53:47 +01:00
o: $(SRC)
$(ZIGC) test $(ZIGOPTS) $^