summaryrefslogtreecommitdiff
path: root/backport/kconfig/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'backport/kconfig/Makefile')
-rw-r--r--backport/kconfig/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/backport/kconfig/Makefile b/backport/kconfig/Makefile
new file mode 100644
index 00000000..ff5c2701
--- /dev/null
+++ b/backport/kconfig/Makefile
@@ -0,0 +1,12 @@
+CFLAGS=-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
+
+LXDIALOG := lxdialog/checklist.o lxdialog/inputbox.o lxdialog/menubox.o lxdialog/textbox.o lxdialog/util.o lxdialog/yesno.o
+
+conf: conf.o zconf.tab.o
+mconf: LDFLAGS = -Wl,--no-as-needed -lncurses -ltinfo
+mconf: CFLAGS += -DCURSES_LOC="<ncurses.h>" -DLOCALE
+mconf: mconf.o zconf.tab.o $(LXDIALOG)
+
+.PHONY: clean
+clean:
+ @rm -f mconf conf *.o lxdialog/*.o