summaryrefslogtreecommitdiffstats
path: root/mbbsd/Makefile
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-04 22:02:58 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-04 22:02:58 +0800
commit7f932124a262a697c7fb05797e00581425f5fd45 (patch)
tree7d3a60525687ccf83983bc0fafe79e6b19cb6c5f /mbbsd/Makefile
parentced1701cea3dabd64bf51f9ba3a24bc41ce81626 (diff)
downloadpttbbs-7f932124a262a697c7fb05797e00581425f5fd45.tar
pttbbs-7f932124a262a697c7fb05797e00581425f5fd45.tar.gz
pttbbs-7f932124a262a697c7fb05797e00581425f5fd45.tar.bz2
pttbbs-7f932124a262a697c7fb05797e00581425f5fd45.tar.lz
pttbbs-7f932124a262a697c7fb05797e00581425f5fd45.tar.xz
pttbbs-7f932124a262a697c7fb05797e00581425f5fd45.tar.zst
pttbbs-7f932124a262a697c7fb05797e00581425f5fd45.zip
- BBS-Lua project: Extend BBS by Lua scripting language.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3786 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/Makefile')
-rw-r--r--mbbsd/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/mbbsd/Makefile b/mbbsd/Makefile
index c5c0959d..8d824dc5 100644
--- a/mbbsd/Makefile
+++ b/mbbsd/Makefile
@@ -35,6 +35,12 @@ CFLAGS+= -DUSE_EMAILDB
LDFLAGS+= -lsqlite3
.endif
+.if !defined(WITHOUT_BBSLUA) && defined(WITH_BBSLUA)
+OBJS+= bbslua.o
+CFLAGS+= -DUSE_BBSLUA -I/usr/include/lua5.1
+LDFLAGS+=-llua5.1
+.endif
+
.if !defined(WITHOUT_PFTERM) && defined(WITH_PFTERM)
OBJS+= pfterm.o
CFLAGS+= -DUSE_PFTERM