(client): Don't make $(termlib) a prerequisite, pass it in $(LDLIBS).

The old version didn't work on some systems.
This commit is contained in:
Markus Armbruster 2006-03-09 20:58:36 +00:00
parent 06deedb52c
commit 1e44434b5c

View file

@ -148,6 +148,7 @@ CFLAGS += -Wall -W -Wno-unused -Wpointer-arith -Wstrict-prototypes \
-Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wredundant-decls
endif endif
LDLIBS += -lm LDLIBS += -lm
$(client): LDLIBS += $(termlibs)
### Advertized goals ### 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) $(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 $@ $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -o $@
$(client): $(filter src/client/%, $(obj)) $(termlibs) $(client): $(filter src/client/%, $(obj))
$(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -o $@
$(util): $(libs) $(util): $(libs)