bugfix for using gcc with lots of options :-)

This commit is contained in:
David Turner 2000-06-07 20:19:44 +00:00
parent 24aaddaeed
commit 1f4aa4ba02
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ $(OBJ_)grwin32.$O: $(GR_WIN32_)grwin32.c $(GR_WIN32_)grwin32.h
# Now update COMPILE_GRAPH_LIB according to the compiler used on Win32 # Now update COMPILE_GRAPH_LIB according to the compiler used on Win32
# #
ifeq ($(CC),gcc) # test for GCC ifeq ($(firstword $(CC)),gcc) # test for GCC
LINK = $(CC) $T$@ $< $(FTLIB) LINK = $(CC) $T$@ $< $(FTLIB)
COMMON_LINK = $(LINK) $(COMMON_OBJ) COMMON_LINK = $(LINK) $(COMMON_OBJ)
GRAPH_LINK = $(COMMON_LINK) $(GRAPH_LIB) -luser32 -lgdi32 GRAPH_LINK = $(COMMON_LINK) $(GRAPH_LIB) -luser32 -lgdi32