2024-04-20 15:04:32 +02:00
|
|
|
|
2024-09-07 20:26:40 +02:00
|
|
|
default: wlan.lua fs.lua init.lua nl.lua svc.lua net/constants.lua
|
2024-04-20 15:04:32 +02:00
|
|
|
|
|
|
|
test:
|
2024-04-25 22:14:37 +02:00
|
|
|
ln -s . anoia
|
2024-04-20 15:04:32 +02:00
|
|
|
fennel test.fnl
|
2024-04-25 22:14:37 +02:00
|
|
|
fennel test-svc.fnl
|
2024-04-20 15:04:32 +02:00
|
|
|
|
2024-04-26 17:43:09 +02:00
|
|
|
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
|
|
|
|
|
|
|
|
|
2024-04-20 15:04:32 +02:00
|
|
|
%.lua: %.fnl
|
|
|
|
fennel --compile $< > $@
|