From 3650a80bc5adbf783393f9f479c9dfd71e2f6dc5 Mon Sep 17 00:00:00 2001 From: victor Date: Fri, 15 Aug 2003 06:13:29 +0000 Subject: merge util_record.c to mbbsd/record.c git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1096 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- util/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util/Makefile') diff --git a/util/Makefile b/util/Makefile index d1a80835..6b847752 100644 --- a/util/Makefile +++ b/util/Makefile @@ -9,7 +9,7 @@ UTIL_OBJS= \ # 用來從 ../mbbsd/xxx.c 產生 util_xxx.o MBBSD_OBJS= \ var stuff cache osdep \ - args + args passwd # 下面這些程式, 會被 compile 並且和 $(UTIL_OBJS) 聯結 CPROG_WITH_UTIL= \ @@ -40,7 +40,7 @@ all: ${CPROG_WITH_UTIL} ${CPROG_WITHOUT_UTIL} ${PROGS} .for fn in ${CPROG_WITH_UTIL} ${fn}: ${fn}.c ${UTIL_OBJS} - ${CC} ${CFLAGS} -o ${fn} ${UTIL_OBJS} ${fn}.c + ${CC} ${CFLAGS} ${LDFLAGS} -o ${fn} ${UTIL_OBJS} ${fn}.c .endfor .for fn in ${MBBSD_OBJS} @@ -49,7 +49,7 @@ util_${fn}.o: ../mbbsd/${fn}.c .endfor xchatd: xchatd.c $(UTIL_OBJS) descrypt.c - $(CC) $(CFLAGS) -o $@ $@.c $(UTIL_OBJS) descrypt.c + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $@.c $(UTIL_OBJS) descrypt.c install: $(PROGS) install -d $(BBSHOME)/bin/ -- cgit v1.2.3