X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=x2p%2FMakefile.SH;h=68c63a774428a54b5f8172be3ac398254ca7f77e;hb=03e60089f91d0a4a765dc827f0f6b27465941491;hp=3f045e388c8163a08454f49c4bcebc77b390dff6;hpb=d136e0b268f98b07c627ec69300c94639d701332;p=p5sagit%2Fp5-mst-13.2.git diff --git a/x2p/Makefile.SH b/x2p/Makefile.SH index 3f045e3..68c63a7 100755 --- a/x2p/Makefile.SH +++ b/x2p/Makefile.SH @@ -58,6 +58,8 @@ FIRSTMAKEFILE = $firstmakefile TRNL = '$trnl' +OPTIMIZE = $optimize + .SUFFIXES: .c \$(OBJ_EXT) !GROK!THIS! @@ -65,7 +67,7 @@ TRNL = '$trnl' cat >>Makefile <<'!NO!SUBS!' REALPERL = ../perl -CCCMD = `sh $(shellflags) cflags $@` +CCCMD = `sh $(shellflags) cflags "optimize='$(OPTIMIZE)'" $@` public = a2p s2p find2perl @@ -102,7 +104,7 @@ all: $(public) $(private) $(util) @echo " " compile: all - $(REALPERL) -I../lib ../utils/perlcc -regex 's/$$/.exe/' $(plextract) -prog -verbose dcf -log ../compilelog; + $(REALPERL) -I../lib ../utils/perlcc -I .. -L .. $(plextract) -v -log ../compilelog; a2p: $(obj) a2p$(OBJ_EXT) $(CC) -o a2p $(LDFLAGS) $(obj) a2p$(OBJ_EXT) $(libs)