summaryrefslogtreecommitdiff
blob: b4abb60f0fd4a2ce9ef8644df1b533659e994243 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/Makefile.old	2010-10-05 10:34:57.000000000 +0200
+++ b/Makefile	2010-10-05 10:35:28.000000000 +0200
@@ -20,7 +20,7 @@
 
 $(NAME) : $(OBJS)
 	cd data; $(MAKE)
-	$(CC) $(CFLAGS) $(OBJS) data/libdata.a `sdl-config --libs` -lm -lpng \
+	$(CC) $(LDFLAGS) $(CFLAGS) $(OBJS) data/libdata.a `sdl-config --libs` -lm -lpng \
 	-ljpeg -lz -lvorbisfile -lvorbis -logg -o $(NAME)
 
 w32icon.o : data/icons/tuxpuck.ico