summaryrefslogtreecommitdiff
blob: dd49e616166032d33d853899ba576e4848a00b62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/CommonHeader.old	2010-10-12 13:08:23.000000000 +0200
+++ b/CommonHeader	2010-10-12 13:08:48.000000000 +0200
@@ -31,9 +31,9 @@
 endif
 
 ifdef NET
-LDFLAGS= `sdl-config --libs` -lSDL_image -lSDL_net -lm
+LDLIBS= `sdl-config --libs` -lSDL_image -lSDL_net -lm
 else
-LDFLAGS= `sdl-config --libs` -lSDL_image -lm
+LDLIBS= `sdl-config --libs` -lSDL_image -lm
 endif
 
 SRCS	= 	$(wildcard *.cpp)
--- a/Makefile.Linux.old	2010-10-12 14:36:47.000000000 +0200
+++ b/Makefile.Linux	2010-10-12 14:37:02.000000000 +0200
@@ -38,8 +38,7 @@
 	$(MAKE) -C $(@D:%_module.o=%)
 
 gav:	$(ALL_OBJ) $(OFILES)
-	$(CXX) -o gav $(OFILES) $(ALL_OBJ) $(LDFLAGS)
-	strip gav
+	$(CXX) $(LDFLAGS) -o gav $(OFILES) $(ALL_OBJ) $(LDLIBS)
 
 clean:
 	for i in $(SUBDIRS) ; do \