ref: 32a53b2239180d9123e4b28d9e342ff3a27da6ca
parent: c83bfdd56d7eba7cca0c6ebd75abe44e2ba75b4e
author: Werner Lemberg <[email protected]>
date: Mon Apr 10 08:14:39 EDT 2000
Adding LDFLAGS. I don't know yet a good solution (within GNU make) to test whether -lm is needed or not... It's time to use autoconf! Werner
--- a/demos/Makefile
+++ b/demos/Makefile
@@ -76,13 +76,12 @@
T1_INCLUDES := $(SRC_)shared $(SRC_)type1
COMPILE = $(CC) $(CFLAGS) $(INCLUDES:%=$I%)
- LINK := $(CC)
FTLIB := $(TOP_)$(LIB_DIR)$(SEP)$(LIBRARY).$A
# the default commands used to link the executables. These can
# be re-defined for platform-specific stuff..
#
- LINK = $(CC) $T$@ $< $(FTLIB) $(EFENCE)
+ LINK = $(CC) $T$@ $< $(FTLIB) $(EFENCE) $(LDFLAGS)
COMMON_LINK = $(LINK) $(COMMON_OBJ)
GRAPH_LINK = $(COMMON_LINK) $(GRAPH_LIB)
@@ -145,7 +144,7 @@
ifdef DOSLIKE
E := .exe
else
- E :=
+ E :=
endif
###################################################################