summaryrefslogtreecommitdiff
path: root/devel/rdp/patches/patch-aa
blob: 2b1e0272e0509e6920ee635f62442e0a23e37786 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
$NetBSD: patch-aa,v 1.3 2018/12/27 15:57:28 joerg Exp $

--- makefile.orig	1997-12-20 00:00:00.000000000 +0000
+++ makefile
@@ -10,18 +10,18 @@
 ###############################################################################
 
 # Configuration for g++ on Unix. Also works for gcc if you set CC = g++
-#CC      = g++
-#OBJ     = .o
-#EXE     =
-#DIFF    = diff -s
-#RM      = rm
-#CP      = cp
-#SUPP_DIR = ./rdp_supp/
-#CFLAGS = -I$(SUPP_DIR) -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g
-#LINK    = $(CC) -o ./
-#MATHS   = -lm
-#HERE    = ./
-#OBJ_ONLY = -c
+#CC     = g++
+OBJ     = .o
+EXE     =
+DIFF    = diff -s
+RM      = rm
+CP      = cp
+SUPP_DIR = ./rdp_supp/
+CFLAGS = -I$(SUPP_DIR) -D_POSIX_SOURCE -Wmissing-prototypes -Wstrict-prototypes -fno-common -Wall -ansi -pedantic -g
+LINK    = $(CC) -o ./
+MATHS   = -lm
+HERE    = ./
+OBJ_ONLY = -c
 # End of gcc on Unix configuration
 
 # Configuration for gcc on DOS using djpgg.
@@ -57,18 +57,18 @@
 # End of Sun acc 2.0 on SunOS configuration
 
 # Configuration for Borland C++ 5.0 under Windows-95
-CC     = bcc32
-OBJ    = .obj
-EXE    = .exe
-DIFF   = fc 
-RM     = del
-CP     = copy
-SUPP_DIR = rdp_supp\\
-CFLAGS = -I$(SUPP_DIR) -A -c -P -w
-LINK   = $(CC) -e
-MATHS  =
-HERE   = 
-OBJ_ONLY = -c
+#CC     = bcc32
+#OBJ    = .obj
+#EXE    = .exe
+#DIFF   = fc 
+#RM     = del
+#CP     = copy
+#SUPP_DIR = rdp_supp\\
+#CFLAGS = -I$(SUPP_DIR) -A -c -P -w
+#LINK   = $(CC) -e
+#MATHS  =
+#HERE   = 
+#OBJ_ONLY = -c
 # End of Borland C++ 5.0 under Windows-95 configuration
 
 # Configuration for Borland C 3.1 on MS-DOS
@@ -217,7 +217,7 @@ mvmasm$(EXE): mvmasm$(OBJ) mvm_aux$(OBJ)
 
 # compile the mvmsim simulator
 mvmsim$(EXE): mvmsim$(OBJ) $(RDP_SUPP)
-	$(LINK)mvmsim$(EXE) mvmsim$(OBJ) $(RDP_SUPP)
+	$(LINK)mvmsim$(EXE) mvmsim$(OBJ) $(RDP_SUPP) $(MATHS)
 
 # test the single-pass compiler, assembler and simulator
 ml_test: miniloop$(EXE) mvmasm$(EXE) mvmsim$(EXE) testloop.m