aboutsummaryrefslogtreecommitdiff
path: root/lang/wamcc/files/patch-ac
blob: b3c3dbd3e45621a1b33c794515232d64c25cfbcb (plain) (blame)
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
--- src/Makefile.orig	Wed Jan 29 11:37:54 1997
+++ src/Makefile	Tue Sep 14 04:16:11 1999
@@ -49,22 +49,22 @@
 
 
 machine.o: machine.h archi.h wam_engine.h machine.c
-	$(WCC) $(CFLAGS) -c machine.c
+	./$(WCC) $(CFLAGS) -c machine.c
 
 wam_engine.o: machine.h archi.h wam_engine.h atom_pred.h wam_engine.c 
-	$(WCC) $(CFLAGS) -c wam_engine.c
+	./$(WCC) $(CFLAGS) -c wam_engine.c
 
 wam_engine_pp.o: machine.h archi.h wam_engine.h atom_pred.h wam_engine.c
-	$(WCC) $(CFLAGS) -DWAM_PROFILE -c -o wam_engine_pp.o wam_engine.c
+	./$(WCC) $(CFLAGS) -DWAM_PROFILE -c -o wam_engine_pp.o wam_engine.c
 
 atom_pred.o: machine.h archi.h wam_engine.h atom_pred.h atom_pred.c
-	$(WCC) $(CFLAGS) -c atom_pred.c
+	./$(WCC) $(CFLAGS) -c atom_pred.c
 
 debugger.o: machine.h archi.h wam_engine.h atom_pred.h debugger.c
-	$(WCC) $(CFLAGS) -c debugger.c
+	./$(WCC) $(CFLAGS) -c debugger.c
 
 hash.o: machine.h hash.c
-	$(WCC) $(CFLAGS) -c hash.c
+	./$(WCC) $(CFLAGS) -c hash.c
 
 
 
@@ -79,7 +79,7 @@
 
 
 $(WCC): configure archi.def
-	configure
+	./configure
 	chmod a+x $(WCC)
 
 $(BMF): bmf.c
@@ -95,8 +95,8 @@
 	$(CC) $(CFLAGS) $(LFLAGS) -o pl2hex pl2hex.c
 
 $(COMPILER):
-	$(WCC) $(CFLAGS) -c wamcc*.c
-	$(WCC) $(CFLAGS) $(LFLAGS) -s -o $(COMPILER) wamcc*.o -l$(COMPILER)
+	./$(WCC) $(CFLAGS) -c wamcc*.c
+	./$(WCC) $(CFLAGS) $(LFLAGS) -s -o $(COMPILER) wamcc*.o -l$(COMPILER)