# New Ticket Created by Jerome Quelin # Please include the string: [perl #19031] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=19031 >
Thanks to bf's example, I'm now writing Befunge Makefile while configuring Parrot. I hope that I did not miss sthg important. Please note that $PARROT/languages/befunge/Makefile should go (the patch only empties it AFAICT) - and I removed it from MANIFEST. Jerome -- [EMAIL PROTECTED] -- attachment 1 ------------------------------------------------------ url: http://rt.perl.org/rt2/attach/44730/35353/797778/befunge_makefile_autogen.patch
diff -urbN parrot.old/config/gen/makefiles/befunge.in parrot/config/gen/makefiles/befunge.in --- parrot.old/config/gen/makefiles/befunge.in 1970-01-01 01:00:00.000000000 +0100 +++ parrot/config/gen/makefiles/befunge.in 2002-12-11 09:19:27.000000000 +0100 @@ -0,0 +1,16 @@ +RM_F = ${rm_f} +PERL = ${perl} + +ASSEMBLE=$(PERL) ../../assemble.pl +PARROT=../../parrot + +all: build + +test: build + $(PARROT) befunge.pbc test.bef + +build: befunge.pasm debug.pasm flow.pasm io.pasm load.pasm maths.pasm stack.pasm + $(ASSEMBLE) befunge.pasm > befunge.pbc + +clean: + $(RM_F) core *.pbc *~ diff -urbN parrot.old/config/gen/makefiles.pl parrot/config/gen/makefiles.pl --- parrot.old/config/gen/makefiles.pl 2002-12-11 09:16:59.000000000 +0100 +++ parrot/config/gen/makefiles.pl 2002-12-11 09:18:09.000000000 +0100 @@ -29,6 +29,8 @@ commentType => '#'); genfile('config/gen/makefiles/bf.in', 'languages/bf/Makefile', commentType => '#'); + genfile('config/gen/makefiles/befunge.in', 'languages/befunge/Makefile', + commentType => '#'); } 1; diff -urbN parrot.old/languages/befunge/Makefile parrot/languages/befunge/Makefile --- parrot.old/languages/befunge/Makefile 2002-12-11 09:17:13.000000000 +0100 +++ parrot/languages/befunge/Makefile 1970-01-01 01:00:00.000000000 +0100 @@ -1,17 +0,0 @@ -ASSEMBLE=perl ../../assemble.pl -PARROT=../../parrot - -test: build - $(PARROT) befunge.pbc test.bef - -build: befunge.pasm flow.pasm io.pasm load.pasm maths.pasm stack.pasm - $(ASSEMBLE) befunge.pasm > befunge.pbc - -clean: - rm -f core *.pbc *~ - -dist: clean - rm -f befunge.tgz - ( cd .. ; tar cvf befunge.tar Befunge-93 ) - gzip ../befunge.tar - mv ../befunge.tar.gz befunge.tgz diff -urbN parrot.old/MANIFEST parrot/MANIFEST --- parrot.old/MANIFEST 2002-12-11 09:16:59.000000000 +0100 +++ parrot/MANIFEST 2002-12-11 09:17:33.000000000 +0100 @@ -1289,7 +1289,6 @@ languages/BASIC/tokenize.pasm languages/BASIC/wumpus.bas languages/befunge/Changes -languages/befunge/Makefile languages/befunge/README languages/befunge/befunge.pasm languages/befunge/debug.pasm