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