freebsd-ports/lang/wamcc/files/patch-ac
Steve Price 89ab207b94 Initial import of wamcc version 2.22.
A Prolog-to-C translator from Inria.

PR:		13745
Submitted by:	W. Gerald Hicks <wghicks@bellsouth.net>
1999-11-01 03:46:48 +00:00

52 lines
1.3 KiB
Plaintext

--- 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)