# New Ticket Created by [EMAIL PROTECTED]
# Please include the string: [perl #19059]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=19059 >
Attached, please find a patch that makes jako's makefile slightly more
portable. It adds in the appropriate ${exe}, and removes the dependency
on "ln -s" to have a local copy of the executable. Tested, works on
cygwin. If it doesn't break gregor....
Perhaps now I can get around to seeing why jako's "make test" is dying...
Enjoy.
--
Will "Coke" Coleda
-- attachment 1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/44940/35429/90428e/jako.in.patch
--- jako.in Wed Dec 11 18:53:52 2002
+++ jako.in_new Wed Dec 11 20:36:17 2002
@@ -10,7 +10,7 @@
DIR=languages/jako
TOOL_DIR=../..
ASM=$(PERL) -I ../../lib ../../assemble.pl
-IMCC=imcc
+IMCC=../imcc/imcc${exe}
JAKOC=$(PERL) -I lib jakoc
INTERP=../../${test_prog}
@@ -64,11 +64,8 @@
.imc.pasm:
$(IMCC) -o $@ $< || (rm -f $@ && false)
-../imcc/imcc:
- @cd ../imcc make
-
-imcc: ../imcc/imcc
- ln -s ../imcc/imcc imcc
+imcc: ../imcc/imcc${exe}
+ @cd ../imcc && make
examples/bench.pasm: examples/bench.imc imcc
examples/euclid.pasm: examples/euclid.imc imcc
@@ -110,7 +107,7 @@
#
clean:
- $(RM_F) imcc examples/*.imc examples/*.pasm examples/*.list examples/*.pbc
+ $(RM_F) examples/*.imc examples/*.pasm examples/*.list examples/*.pbc
over:
@$(MAKE) clean