diff Makefile.in @ 1521:9b9212e4810c

CFLAGS are separate from EXTRA_CFLAGS Fixed iconv.h detection on Cygwin32
author Sam Lantinga <slouken@libsdl.org>
date Tue, 14 Mar 2006 02:46:26 +0000
parents 4da1926c287c
children 1078552c83a0
line wrap: on
line diff
--- a/Makefile.in	Mon Mar 13 18:01:34 2006 +0000
+++ b/Makefile.in	Tue Mar 14 02:46:26 2006 +0000
@@ -21,7 +21,9 @@
 CC      = @CC@
 INCLUDE = @INCLUDE@
 CFLAGS  = @BUILD_CFLAGS@
+EXTRA_CFLAGS = @EXTRA_CFLAGS@
 LDFLAGS = @BUILD_LDFLAGS@
+EXTRA_LDFLAGS = @EXTRA_LDFLAGS@
 LIBTOOL = @LIBTOOL@
 INSTALL = @INSTALL@
 NASM	= @NASM@ @NASMFLAGS@
@@ -65,7 +67,7 @@
 include $(depend)
 
 $(objects)/$(TARGET): $(OBJECTS)
-	$(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(LIBS) $(LT_LDFLAGS)
+	$(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
 
 $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS)
 	$(AR) cru $@ $(SDLMAIN_OBJECTS)