From 32a53b2239180d9123e4b28d9e342ff3a27da6ca Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Mon, 10 Apr 2000 12:14:39 +0000 Subject: [PATCH] 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 --- demos/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/demos/Makefile b/demos/Makefile index 5cac17dc3..3e53c0239 100644 --- a/demos/Makefile +++ b/demos/Makefile @@ -76,13 +76,12 @@ else 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 @@ else ifdef DOSLIKE E := .exe else - E := + E := endif ###################################################################