summaryrefslogtreecommitdiff
path: root/backport/kconf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'backport/kconf/Makefile')
-rw-r--r--backport/kconf/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/backport/kconf/Makefile b/backport/kconf/Makefile
index 9edd957a..2004c44f 100644
--- a/backport/kconf/Makefile
+++ b/backport/kconf/Makefile
@@ -13,3 +13,11 @@ mconf: mconf.o zconf.tab.o $(LXDIALOG)
.PHONY: clean
clean:
@rm -f mconf conf *.o lxdialog/*.o
+
+zconf.tab.c: zconf.lex.c
+
+%.tab.c: %.y
+ $(YACC) -o$@ -t -l $<
+
+%.lex.c: %.l
+ $(LEX) -o$@ -L $<