liminix/pkgs/anoia/Makefile

15 lines
324 B
Makefile
Raw Permalink Normal View History

default: fs.lua init.lua nl.lua svc.lua net/constants.lua
test:
2024-04-25 22:14:37 +02:00
ln -s . anoia
fennel test.fnl
2024-04-25 22:14:37 +02:00
fennel test-svc.fnl
net/constants.lua: net/constants.c
$(CC) -imacros sys/socket.h -imacros linux/netlink.h -E -P - < net/constants.c | sed 's/ *$$//g' | cat -s > net/constants.lua
%.lua: %.fnl
fennel --compile $< > $@