diff options
-rw-r--r-- | pttbbs/mbbsd/Makefile | 2 | ||||
-rw-r--r-- | pttbbs/trans/Makefile | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/pttbbs/mbbsd/Makefile b/pttbbs/mbbsd/Makefile index 4477a736..0a2ad445 100644 --- a/pttbbs/mbbsd/Makefile +++ b/pttbbs/mbbsd/Makefile @@ -45,7 +45,7 @@ LDFLAGS+=-Wl,--sort-common LDFLAGS+= -L$(SRCROOT)/common/bbs -L$(SRCROOT)/common/sys \ -L$(SRCROOT)/common/osdep -LDLIBS+= -lcmbbs -lcmsys -losdep +LDLIBS:= -lcmbbs -lcmsys -losdep $(LDLIBS) ####################################################################### # conditional configurations and optional modules diff --git a/pttbbs/trans/Makefile b/pttbbs/trans/Makefile index 0ab85855..44b35a1a 100644 --- a/pttbbs/trans/Makefile +++ b/pttbbs/trans/Makefile @@ -27,9 +27,10 @@ CPROG_WITHOUT_UTIL= \ # 下面這些程式會被 install PROGS= ${CPROG_WITH_UTIL} ${CPROG_WITHOUT_UTIL} ${CPP_WITH_UTIL}\ -LDLIBS+=$(SRCROOT)/common/bbs/libcmbbs.a \ - $(SRCROOT)/common/sys/libcmsys.a \ - $(SRCROOT)/common/osdep/libosdep.a +LDLIBS:= -L$(SRCROOT)/common/bbs -lcmbbs \ + -L$(SRCROOT)/common/sys -lcmsys \ + -L$(SRCROOT)/common/osdep -losdep \ + $(LDLIBS) all: $(SRCROOT)/include/var.h ${CPROG_WITH_UTIL} ${CPROG_WITHOUT_UTIL} ${CPP_WITH_UTIL} ${PROGS} |