summaryrefslogtreecommitdiffstats
path: root/mbbsd/Makefile
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-24 05:02:41 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-24 05:02:41 +0800
commitc8ca89f87d8fbd2e642a2787acb9bf02614ffe04 (patch)
treee77117feab4f369e738c53fbd05d4649564238bb /mbbsd/Makefile
parentf30ceeae171f34b4565eecf8fdcf674aee2edb54 (diff)
downloadpttbbs-c8ca89f87d8fbd2e642a2787acb9bf02614ffe04.tar
pttbbs-c8ca89f87d8fbd2e642a2787acb9bf02614ffe04.tar.gz
pttbbs-c8ca89f87d8fbd2e642a2787acb9bf02614ffe04.tar.bz2
pttbbs-c8ca89f87d8fbd2e642a2787acb9bf02614ffe04.tar.lz
pttbbs-c8ca89f87d8fbd2e642a2787acb9bf02614ffe04.tar.xz
pttbbs-c8ca89f87d8fbd2e642a2787acb9bf02614ffe04.tar.zst
pttbbs-c8ca89f87d8fbd2e642a2787acb9bf02614ffe04.zip
add dietlibc support, reduced 16kb memory usage on linux x86_64.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2534 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/Makefile')
-rw-r--r--mbbsd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/mbbsd/Makefile b/mbbsd/Makefile
index 5f99078f..f637e95e 100644
--- a/mbbsd/Makefile
+++ b/mbbsd/Makefile
@@ -15,6 +15,10 @@ OBJS= admin.o announce.o args.o assess.o bbs.o board.o cache.o cal.o card.o\
more.o name.o osdep.o othello.o page.o read.o record.o register.o\
screen.o stuff.o talk.o term.o topsong.o user.o brc.o vice.o vote.o\
xyz.o voteboard.o syspost.o var.o passwd.o calendar.o go.o file.o
+.if defined(DIET)
+OBJS+= random.o time.o
+#CC:= diet -Os $(CC)
+.endif
.if defined(MERGEBBS)
CFLAGS+= -DMERGEBBS