Re: Array vs. List context
[p5sagit/p5-mst-13.2.git] / utils / Makefile
index 3c343c8..944cbe8 100644 (file)
@@ -1,13 +1,18 @@
 
 PERL = ../miniperl
+REALPERL = ../perl
 
 # Files to be built with variable substitution after miniperl is
 # available.  Dependencies handled manually below (for now).
 
-pl = c2ph.PL h2ph.PL h2xs.PL perlbug.PL perldoc.PL pl2pm.PL splain.PL
-plextract  = c2ph h2ph h2xs perlbug perldoc pl2pm splain
+pl = c2ph.PL h2ph.PL h2xs.PL perlbug.PL perldoc.PL pl2pm.PL splain.PL perlcc.PL dprofpp.PL
+plextract  = c2ph h2ph h2xs perlbug perldoc pl2pm splain perlcc dprofpp
+plextractexe  = c2ph.exe h2ph.exe h2xs.exe perlbug.exe perldoc.exe pl2pm.exe splain.exe perlcc.exe dprofpp.exe
 
-all: $(plextract)
+all: $(plextract) 
+
+compile: all
+       $(REALPERL) -I../lib perlcc -opt -regex 's/$$/.exe/' $(plextract) -prog -verbose dcf -log ../compilelog;
 
 $(plextract):
        $(PERL) -I../lib $@.PL
@@ -26,10 +31,15 @@ pl2pm:              pl2pm.PL ../config.sh
 
 splain:                splain.PL ../config.sh ../lib/diagnostics.pm
 
+perlcc:                perlcc.PL ../config.sh
+
+dprofpp:       dprofpp.PL ../config.sh
+
 clean:
 
 realclean:
-       rm -rf $(plextract) pstruct
+       rm -rf $(plextract) pstruct $(plextractexe)
+       rm -f ../t/_h2ph_pre.ph
 
 clobber:       realclean