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
This commit is contained in:
Werner Lemberg 2000-04-10 12:14:39 +00:00
parent c83bfdd56d
commit 32a53b2239
1 changed files with 2 additions and 3 deletions

View File

@ -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
###################################################################