aboutsummaryrefslogtreecommitdiff
path: root/lang/wamcc/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'lang/wamcc/files/patch-ac')
-rw-r--r--lang/wamcc/files/patch-ac51
1 files changed, 51 insertions, 0 deletions
diff --git a/lang/wamcc/files/patch-ac b/lang/wamcc/files/patch-ac
new file mode 100644
index 000000000000..b3c3dbd3e456
--- /dev/null
+++ b/lang/wamcc/files/patch-ac
@@ -0,0 +1,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)
+
+
+