1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/lang/wamcc/files/patch-ac
Oliver Braun f9bcf6c720 * Upgrade to 2.23.
* Remove BROKEN.

PR:		ports/52922
Submitted by:	Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
2003-06-05 20:35:12 +00:00

68 lines
1.6 KiB
Plaintext

--- src/Makefile.orig Wed Jan 29 12:37:54 1997
+++ src/Makefile Wed Jun 4 11:02:44 2003
@@ -10,13 +10,13 @@
COMPILER = wamcc
INCPATH = `pwd`
LIBPATH = `pwd`
-CC = gcc
+CC ?= gcc
WCC = w_$(CC)
# other local variables
-CFLAGS = -O2
+#CFLAGS = -O2
CFLAGINLIN= -finline-functions
LFLAGS =
BMF = bmf_$(COMPILER)
@@ -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)