diff options
Diffstat (limited to 'Lua/Makefile')
| -rw-r--r-- | Lua/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lua/Makefile b/Lua/Makefile index d67289e..c729821 100644 --- a/Lua/Makefile +++ b/Lua/Makefile @@ -36,12 +36,15 @@ all: bp.so clean: rm -f lbp.o bp.so -lbp.o: lbp.c +lbp.o: lbp.c builtins.h $(CC) -c $(ALL_FLAGS) -o $@ $< bp.so: lbp.o ../pattern.o ../utils.o ../utf8.o ../match.o ../definitions.o $(MAKESO) -o $@ $^ +builtins.h: ../grammars/builtins.bp + sed 's/\\/\\\\/g;s/"/\\"/g;s/ /\\t/g;s/^/"/;s/$$/\\n"/' $< >$@ + test: bp.so $(LUA) test.lua |
