summaryrefslogtreecommitdiff
blob: 8b006f1003a878f339859c8cf48c9513c4087558 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- makefile~	2011-08-29 20:32:22.000000000 +0200
+++ makefile	2011-08-29 20:33:27.052159159 +0200
@@ -82,16 +82,16 @@
 
 # linking the program.
 $(PROG): $(GAMEOBJS)
-	$(CXX) $(GAMEOBJS) -o $(PROG) $(LIBS)
+	$(CXX) $(LDFLAGS) $(GAMEOBJS) -o $(PROG) $(LIBS)
 	
 pak: $(PAKOBJS)
-	$(CXX) $(PAKOBJS) -o pak $(LIBS)
+	$(CXX) $(LDFLAGS) $(PAKOBJS) -o pak $(LIBS)
 
 %.mo: %.po
 	msgfmt -c -o $@ $<
 
 mapeditor: $(MAPOBJS)
-	$(CXX) $(MAPOBJS) -o mapeditor $(LIBS)
+	$(CXX) $(LDFLAGS) $(MAPOBJS) -o mapeditor $(LIBS)
 
 # cleaning everything that can be automatically recreated with "make".
 clean: