ref: 1f4aa4ba024c8209fd3016543e8dc819bd5e624a
parent: 24aaddaeed000293af93c3dc50502fa7912d2428
author: David Turner <[email protected]>
date: Wed Jun 7 16:19:44 EDT 2000
bugfix for using gcc with lots of options :-)
--- a/demos/graph/win32/rules.mk
+++ b/demos/graph/win32/rules.mk
@@ -26,7 +26,7 @@
# 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)
COMMON_LINK = $(LINK) $(COMMON_OBJ)
GRAPH_LINK = $(COMMON_LINK) $(GRAPH_LIB) -luser32 -lgdi32