diff options
author | FreeArtMan <dos21h@gmail.com> | 2014-12-09 10:31:37 +0900 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2014-12-09 10:31:37 +0900 |
commit | a57c6bed8f6ab7d0f4355190c0cff7cd913da6a0 (patch) | |
tree | c8b85b9de364cb63678d05625bdff6a2cf12ecda /Makefile | |
parent | dc4bbe5366d6c733f9f77b7c9fee0cbba3e0d92b (diff) | |
download | microbbs-a57c6bed8f6ab7d0f4355190c0cff7cd913da6a0.tar.gz microbbs-a57c6bed8f6ab7d0f4355190c0cff7cd913da6a0.zip |
New planned functionality. Menuconfig support. Simple captcha.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,7 +1,7 @@ PROJECT=microbbs CC=gcc CFLAGS= -SOURCES=motd.c buildinfo.c sysinfo.c articles.c logs.c vote.c list.c mmm.c +SOURCES=articles.c bbsconfig.c buildinfo.c captcha.c file_use.c ini.c list.c login.c logs.c mmm.c motd.c session.c statistics.c sysinfo.c telnetd.c textview.c vote.c OBJECTS=$(SOURCES:.c=.o) BUILD_DIR=build_dir @@ -10,6 +10,14 @@ all: mkdir $(OBJECTS) $(PROJECT) mkdir: mkdir -p $(BUILD_DIR) +kconfig2h: + $(CC) -c kconf2h/kconf2h_parser.c + $(CC) kconf2h/kconf2h.c kconf2h_parser.o -o kconf2h/kconf2h + +menuconfig: kconfig2h + ./mconf Kconfig + kconf2h/kconf2h .config kconfig.h + $(PROJECT): $(SOURCES) cd ./libterm; make $(CC) $(addprefix $(BUILD_DIR)/,$(OBJECTS)) $(CFLAGS) libterm/libterm.o microbbs.c -o $(PROJECT) |