diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-08-15 14:13:29 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-08-15 14:13:29 +0800 |
commit | 3650a80bc5adbf783393f9f479c9dfd71e2f6dc5 (patch) | |
tree | 3cb2e60fd0dfc0d516b243142ffba12d5a273500 /util/Makefile | |
parent | 25ac9df6116c1e90f768374b71f1a1b54b0df430 (diff) | |
download | pttbbs-3650a80bc5adbf783393f9f479c9dfd71e2f6dc5.tar pttbbs-3650a80bc5adbf783393f9f479c9dfd71e2f6dc5.tar.gz pttbbs-3650a80bc5adbf783393f9f479c9dfd71e2f6dc5.tar.bz2 pttbbs-3650a80bc5adbf783393f9f479c9dfd71e2f6dc5.tar.lz pttbbs-3650a80bc5adbf783393f9f479c9dfd71e2f6dc5.tar.xz pttbbs-3650a80bc5adbf783393f9f479c9dfd71e2f6dc5.tar.zst pttbbs-3650a80bc5adbf783393f9f479c9dfd71e2f6dc5.zip |
merge util_record.c to mbbsd/record.c
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1096 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/Makefile')
-rw-r--r-- | util/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
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/ |