Patched to compile on Ubuntu 11.10.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 18 Nov 2011 02:45:35 -0500
changeset 117 a4676b3200fd
parent 116 b10b5fb6d8e0
child 118 0d0bd987e977
Patched to compile on Ubuntu 11.10.
Makefile
--- a/Makefile	Wed Nov 16 03:50:59 2011 -0500
+++ b/Makefile	Fri Nov 18 02:45:35 2011 -0500
@@ -80,19 +80,19 @@
 	$(CC) $(CFLAGS) -o $@ $< `sdl-config --cflags`
 
 detect_mice: $(BASEOBJS) example/detect_mice.o
-	$(LD) $(LDFLAGS) -o $@ $+
+	$(LD) -o $@ $+ $(LDFLAGS)
 
 test_manymouse_stdio: $(BASEOBJS) example/test_manymouse_stdio.o
-	$(LD) $(LDFLAGS) -o $@ $+
+	$(LD) -o $@ $+ $(LDFLAGS) 
 
 test_manymouse_sdl: $(BASEOBJS) example/test_manymouse_sdl.o
-	$(LD) $(LDFLAGS) -o $@ $+ `sdl-config --libs`
+	$(LD) -o $@ $+ `sdl-config --libs` $(LDFLAGS) 
 
 mmpong: $(BASEOBJS) example/mmpong.o
-	$(LD) $(LDFLAGS) -o $@ $+ `sdl-config --libs`
+	$(LD) -o $@ $+ `sdl-config --libs` $(LDFLAGS)
 
 manymousepong: $(BASEOBJS) example/manymousepong.o
-	$(LD) $(LDFLAGS) -o $@ $+ `sdl-config --libs`
+	$(LD) -o $@ $+ `sdl-config --libs` $(LDFLAGS) 
 
 
 # Java support ...