summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-06-04 03:30:07 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-06-04 03:30:07 +0800
commiteeaadc89e1a1d6e0a704a0f53206398b29d9ecf3 (patch)
treeecfe992e6aa9776132c3bc36d45ce0721435a3d8 /util
parent415c9417ad19e6052ad0aeb088dae25b032e010e (diff)
downloadpttbbs-eeaadc89e1a1d6e0a704a0f53206398b29d9ecf3.tar
pttbbs-eeaadc89e1a1d6e0a704a0f53206398b29d9ecf3.tar.gz
pttbbs-eeaadc89e1a1d6e0a704a0f53206398b29d9ecf3.tar.bz2
pttbbs-eeaadc89e1a1d6e0a704a0f53206398b29d9ecf3.tar.lz
pttbbs-eeaadc89e1a1d6e0a704a0f53206398b29d9ecf3.tar.xz
pttbbs-eeaadc89e1a1d6e0a704a0f53206398b29d9ecf3.tar.zst
pttbbs-eeaadc89e1a1d6e0a704a0f53206398b29d9ecf3.zip
use $(CCACHE)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2047 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/Makefile b/util/Makefile
index 52f02a62..1faf486e 100644
--- a/util/Makefile
+++ b/util/Makefile
@@ -48,19 +48,19 @@ all: ${CPROG_WITH_UTIL} ${CPROG_WITHOUT_UTIL} ${PROGS}
.for fn in ${CPROG_WITH_UTIL}
${fn}: ${BBSBASE} ${fn}.c ${UTIL_OBJS}
- ${CC} ${CFLAGS} ${LDFLAGS} -o ${fn} ${UTIL_OBJS} ${fn}.c
+ $(CCACHE) ${CC} ${CFLAGS} ${LDFLAGS} -o ${fn} ${UTIL_OBJS} ${fn}.c
.endfor
.for fn in ${MBBSD_OBJS}
util_${fn}.o: ${BBSBASE} ../mbbsd/${fn}.c
- ${CC} ${CFLAGS} -D_BBS_UTIL_C_ -c -o $@ ../mbbsd/${fn}.c
+ $(CCACHE) ${CC} ${CFLAGS} -D_BBS_UTIL_C_ -c -o $@ ../mbbsd/${fn}.c
.endfor
xchatd: ${BBSBASE} xchatd.c $(UTIL_OBJS) descrypt.c
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $@.c $(UTIL_OBJS) descrypt.c
+ $(CCACHE) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $@.c $(UTIL_OBJS) descrypt.c
bbsmail: ${BBSBASE} bbsmail.c ../innbbsd/str_decode.c $(UTIL_OBJS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o bbsmail -DUSE_ICONV \
+ $(CCACHE) $(CC) $(CFLAGS) $(LDFLAGS) -o bbsmail -DUSE_ICONV \
bbsmail.c ../innbbsd/str_decode.c $(UTIL_OBJS)
install: $(PROGS)
@@ -79,7 +79,7 @@ installfiltermail:
# for diskstat(FreeBSD 4.x only) .
# diskstat should be compiled with bbs and installed with root
diskstat: diskstat.c
- $(CC) $(CFLAGS) -o diskstat diskstat.c -ldevstat -lkvm
+ $(CCACHE) $(CC) $(CFLAGS) -o diskstat diskstat.c -ldevstat -lkvm
installdiskstat: diskstat
cp -f diskstat /usr/local/bin/
@@ -88,7 +88,7 @@ installdiskstat: diskstat
# for bbsctl. bbsctl should be compiled with bbs and installed with root
bbsctl: bbsctl.c
- $(CC) $(CFLAGS) -o $@ $@.c
+ $(CCACHE) $(CC) $(CFLAGS) -o $@ $@.c
installbbsctl: bbsctl
rm -f /home/bbs/bin/bbsctl
@@ -97,9 +97,9 @@ installbbsctl: bbsctl
chmod 4755 /home/bbs/bin/bbsctl
cleanpasswd: cleanpasswd.c ${UTIL_OBJS}
- ${CC} ${CFLAGS} ${LDFLAGS} -o cleanpasswd ${UTIL_OBJS} cleanpasswd.c
+ $(CCACHE) ${CC} ${CFLAGS} ${LDFLAGS} -o cleanpasswd ${UTIL_OBJS} cleanpasswd.c
r2014transfer: r2014convert
- ${CC} ${CFLAGS} ${LDFLAGS} -o r2014convert r2014convert.c
+ $(CCACHE) ${CC} ${CFLAGS} ${LDFLAGS} -o r2014convert r2014convert.c
./r2014convert
rm r2014convert