aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index a17e9cd..df65926 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -7,7 +7,7 @@
7 7
8MODULE=lanes 8MODULE=lanes
9 9
10SRC=lanes.c threading.c tools.c 10SRC=lanes.c threading.c tools.c keeper.c
11 11
12OBJ=$(SRC:.c=.o) 12OBJ=$(SRC:.c=.o)
13 13
@@ -134,10 +134,14 @@ lanes.o: keeper.lch
134# Note: 'luac -o -' could be used on systems other than Windows (where pipes 134# Note: 'luac -o -' could be used on systems other than Windows (where pipes
135# are binary). We need to support MinGW as well, so a temporary file. 135# are binary). We need to support MinGW as well, so a temporary file.
136# 136#
137# mode 1: embed bytecode version
138#%.lch: %.lua
139# $(LUAC) -o $@.tmp $<
140# $(LUA) ../tools/bin2c.lua $@.tmp -o $@
141# -rm $@.tmp
142# mode 2: embed text version (LuaJIT2-compatible)
137%.lch: %.lua 143%.lch: %.lua
138 $(LUAC) -o $@.tmp $< 144 $(LUA) ../tools/bin2c.lua $< -o $@
139 $(LUA) ../tools/bin2c.lua $@.tmp -o $@
140 -rm $@.tmp
141 145
142#--- 146#---
143# NSLU2 "slug" Linux ARM 147# NSLU2 "slug" Linux ARM