2 include $(TOP)/mk/boilerplate.mk
8 grs2gr gr2qp qp2ps ghc-fool-sort ghc-unfool-sort gr2pe gr2java \
9 qp2ap gr2RTS RTS2gran gran-extr gp-ext-imp tf avg-RTS SPLIT \
10 AVG SN get_SN sn_filter ps-scale-y
13 BASH_PROGS = gr2ps gr2jv gr2ap gr2gran
16 # One rule fits all, not particularly selective.
18 $(PERL_PROGS) : $(patsubst %,%.pl,$(PERL_PROGS))
19 $(BASH_PROGS) : $(patsubst %,%.bash,$(BASH_PROGS))
22 all :: $(PERL_PROGS) $(BASH_PROGS)
27 @echo "#!"$(PERL) > $@
34 @echo "#!"$(BASH) > $@
39 # You'll only get this with Parallel Haskell or
42 ifeq "$(BuildingParallel)" "YES"
43 INSTALL_SCRIPTS += $(BASH_PROGS) $(PERL_PROGS)
45 ifeq "$(BuildingGranSim)" "YES"
46 INSTALL_SCRIPTS += $(BASH_PROGS) $(PERL_PROGS)
50 CLEAN_FILES += $(BASH_PROGS) $(PERL_PROGS)
52 include $(TOP)/mk/target.mk