Use $^O, and make more cautious about sending mail
[p5sagit/p5-mst-13.2.git] / utils / Makefile
1
2 PERL = ../miniperl
3
4 # Files to be built with variable substitution after miniperl is
5 # available.  Dependencies handled manually below (for now).
6
7 pl = c2ph.PL h2ph.PL h2xs.PL perlbug.PL perldoc.PL
8
9 pl = c2ph.PL h2ph.PL h2xs.PL perlbug.PL perldoc.PL pl2pm.PL
10 plextract  = c2ph h2ph h2xs perlbug perldoc pl2pm
11
12 all: $(plextract)
13
14 $(plextract):
15         $(PERL) -I../lib $@.PL
16
17 clean:
18
19 realclean:
20         rm -rf $(plextract) pstruct
21
22 clobber:        realclean
23
24 distclean:      clobber