diff options
Diffstat (limited to 'modules/luci-base/src/Makefile')
-rw-r--r-- | modules/luci-base/src/Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/modules/luci-base/src/Makefile b/modules/luci-base/src/Makefile index 3e6ead1085..2a425d5ab7 100644 --- a/modules/luci-base/src/Makefile +++ b/modules/luci-base/src/Makefile @@ -1,16 +1,24 @@ %.o: %.c - $(CC) $(CPPFLAGS) $(CFLAGS) $(FPIC) -c -o $@ $< + $(CC) $(CPPFLAGS) $(CFLAGS) $(FPIC) -DNDEBUG -c -o $@ $< + +contrib/lemon: contrib/lemon.c contrib/lempar.c + cc -o contrib/lemon $< + +plural_formula.c: plural_formula.y contrib/lemon + ./contrib/lemon -q $< + +template_lmo.c: plural_formula.c clean: - rm -f po2lmo parser.so version.lua *.o + rm -f contrib/lemon po2lmo parser.so version.lua plural_formula.c plural_formula.h *.o jsmin: jsmin.o $(CC) $(LDFLAGS) -o $@ $^ -po2lmo: po2lmo.o template_lmo.o +po2lmo: po2lmo.o template_lmo.o plural_formula.o $(CC) $(LDFLAGS) -o $@ $^ -parser.so: template_parser.o template_utils.o template_lmo.o template_lualib.o +parser.so: template_parser.o template_utils.o template_lmo.o template_lualib.o plural_formula.o $(CC) $(LDFLAGS) -shared -o $@ $^ version.lua: |