summaryrefslogtreecommitdiff
blob: e310d0f0f312f75bbda69d6cea28176919a91990 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
--- src/Makefile.old	2011-06-22 22:57:59.000000000 +0200
+++ src/Makefile	2011-06-22 22:58:27.000000000 +0200
@@ -35,7 +35,7 @@
 all: freecnc-bin plugins
 
 ../freecnc: $(OBJECTS)
-	$(CXX) $(LDFLAGS) -o ../freecnc $(DEBUG_FLAGS) $(OBJECTS) `sdl-config --libs` $(LIBS) $(EFENCE)
+	$(CXX) $(LDFLAGS) -o ../freecnc $(DEBUG_FLAGS) $(OBJECTS) `sdl-config --libs` $(LIBS) -lm -ldl $(EFENCE)
 
 freecnc-bin: ../freecnc
 
--- tools/shpview/Makefile.old	2011-06-22 23:00:10.000000000 +0200
+++ tools/shpview/Makefile	2011-06-22 23:00:32.000000000 +0200
@@ -13,7 +13,7 @@
 CFLAGS = -g  -Wall -I. -I../../src/include `sdl-config --cflags` $(EXTRACFLAGS)
 
 ../../shpview: $(LOCALOBJS) $(OBJECTS)
-	$(CXX) -o ../../shpview -g $(LDFLAGS) $(LOCALOBJS) $(OBJECTS) `sdl-config --libs` $(LIBS)
+	$(CXX) -o ../../shpview -g $(LDFLAGS) $(LOCALOBJS) $(OBJECTS) `sdl-config --libs` $(LIBS) -lm -ldl
 clean:
 	\rm -f $(LOCALOBJS) ../../shpview
 
--- tools/tmpinied/Makefile.old	2011-06-22 23:01:44.000000000 +0200
+++ tools/tmpinied/Makefile	2011-06-22 23:02:12.000000000 +0200
@@ -13,7 +13,7 @@
 CFLAGS = -g -Wall  -I../../src/include `sdl-config --cflags`
 
 ../../tmpinied: $(LOCALOBJS) $(OBJECTS)
-	$(CXX) -g $(LDFLAGS) -o ../../tmpinied $(LOCALOBJS) $(OBJECTS) $(LIBS) `sdl-config --libs`
+	$(CXX) -g $(LDFLAGS) -o ../../tmpinied $(LOCALOBJS) $(OBJECTS) $(LIBS) `sdl-config --libs` -lm -ldl
 clean:
 	\rm -f $(LOCALOBJS) ../../tmpinied
 
--- tools/audplay/Makefile.old	2011-06-22 23:10:33.000000000 +0200
+++ tools/audplay/Makefile	2011-06-22 23:10:49.000000000 +0200
@@ -12,7 +12,7 @@
 CFLAGS = -g  -Wall -I. -I../../src/include `sdl-config --cflags` $(EXTRACFLAGS)
 
 ../../audplay: $(LOCALOBJS) $(OBJECTS)
-	$(CXX) -o ../../audplay -g $(LDFLAGS) $(LOCALOBJS) $(OBJECTS) `sdl-config --libs` $(LIBS)
+	$(CXX) -o ../../audplay -g $(LDFLAGS) $(LOCALOBJS) $(OBJECTS) `sdl-config --libs` $(LIBS) -lm -ldl
 clean:
 	\rm -f $(LOCALOBJS) ../../audplay
 
--- tools/mixshell/Makefile.old	2011-06-22 23:12:13.000000000 +0200
+++ tools/mixshell/Makefile	2011-06-22 23:12:32.000000000 +0200
@@ -6,7 +6,7 @@
 CFLAGS = -g -Wall -I. -I../../src/include `sdl-config --cflags` $(EXTRACFLAGS)
 
 mixshell: $(LOCALOBJ) $(OBJ)
-	$(CXX) -o mixshell $(LDFLAGS) $(LOCALOBJ) $(OBJ) `sdl-config --libs` $(LIBS)
+	$(CXX) -o mixshell $(LDFLAGS) $(LOCALOBJ) $(OBJ) `sdl-config --libs` $(LIBS) -lm
 
 clean:
 	\rm -rf $(LOCALOBJ) mixshell