From: Markus Armbruster Date: Thu, 9 Mar 2006 20:58:36 +0000 (+0000) Subject: (client): Don't make $(termlib) a prerequisite, pass it in $(LDLIBS). X-Git-Tag: v4.3.0~11 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=1e44434b5c2523f1620f540fbc3a9acb09da9e60 (client): Don't make $(termlib) a prerequisite, pass it in $(LDLIBS). The old version didn't work on some systems. --- diff --git a/Make.mk b/Make.mk index 00e30a2fc..e3fe272d6 100644 --- a/Make.mk +++ b/Make.mk @@ -148,6 +148,7 @@ CFLAGS += -Wall -W -Wno-unused -Wpointer-arith -Wstrict-prototypes \ -Wmissing-prototypes -Wnested-externs -Wredundant-decls endif LDLIBS += -lm +$(client): LDLIBS += $(termlibs) ### Advertized goals @@ -248,7 +249,7 @@ info.html/%.html: info/%.t $(server): $(filter src/server/% src/lib/as/% src/lib/commands/% src/lib/player/% src/lib/subs/% src/lib/update/%, $(obj)) $(empth_obj) $(libs) $(empth_lib) $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -o $@ -$(client): $(filter src/client/%, $(obj)) $(termlibs) +$(client): $(filter src/client/%, $(obj)) $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(util): $(libs)