summaryrefslogtreecommitdiffstats
path: root/pttbbs.mk
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-09 17:11:35 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-09 17:11:35 +0800
commit3beb690bcba8bf5c672edb2b55adaa79c0528dd4 (patch)
tree9c91e3fad66b22457ca0b1a756ced7b828c42295 /pttbbs.mk
parent490f0a5d309c489c18c949d25c8b9ef0ad3ab9dc (diff)
downloadpttbbs-3beb690bcba8bf5c672edb2b55adaa79c0528dd4.tar
pttbbs-3beb690bcba8bf5c672edb2b55adaa79c0528dd4.tar.gz
pttbbs-3beb690bcba8bf5c672edb2b55adaa79c0528dd4.tar.bz2
pttbbs-3beb690bcba8bf5c672edb2b55adaa79c0528dd4.tar.lz
pttbbs-3beb690bcba8bf5c672edb2b55adaa79c0528dd4.tar.xz
pttbbs-3beb690bcba8bf5c672edb2b55adaa79c0528dd4.tar.zst
pttbbs-3beb690bcba8bf5c672edb2b55adaa79c0528dd4.zip
-L/usr/local/lib, -lhz, -DFreeBSD
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1518 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'pttbbs.mk')
-rw-r--r--pttbbs.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/pttbbs.mk b/pttbbs.mk
index 0cc8b2a3..a00e86bf 100644
--- a/pttbbs.mk
+++ b/pttbbs.mk
@@ -6,14 +6,14 @@ OSTYPE!= uname
CC?= gcc
CCACHE!= which ccache|sed -e 's/^.*\///'
PTT_CFLAGS= -Wall -pipe -DBBSHOME='"$(BBSHOME)"' -I../include
-PTT_LDFLAGS= -pipe -Wall
-PTT_LIBS= -lcrypt
+PTT_LDFLAGS= -pipe -Wall -L/usr/local/lib
+PTT_LIBS= -lcrypt -lhz
# enable assert()
#PTT_CFLAGS+= -DNDEBUG
# FreeBSD特有的環境
-CFLAGS_FreeBSD= -DHAVE_SETPROCTITLE
+CFLAGS_FreeBSD= -DHAVE_SETPROCTITLE -DFreeBSD
LDFLAGS_FreeBSD=
LIBS_FreeBSD= -lkvm