2 # Makefile to compile and install the SUIF compiler
5 # default variables -- these may be overridden
9 LIBRARIES = general hawg flow simple suif math deptest \
10 builder dependence suifmath looptrans transform
11 SUBDIRS = general hawg flow sharlit simple suif math deptest \
12 builder dependence suifmath looptrans transform \
13 expander fixfortran inline ipa it mgen mexp oldsuif newsuif \
14 oynk porky printsuif pgen prom reads readsimple scc sf2c \
15 skweel snot snoot snout spp writesuif F77 I77
17 # read the standard definitions
18 include $(SUIFHOME)/Makefile.defs
20 MACHINCL = $(MACHDIR)/include
25 @for dir in $(SUBDIRS); do \
26 if test -d $(WORKDIR)/$$dir; then \
27 ( cd $(WORKDIR)/$$dir; \
28 $(MAKE) --no-print-directory $@ );\
33 @for dir in $(SUBDIRS); do \
34 if test -d $(WORKDIR)/$$dir; then \
35 ( cd $(WORKDIR)/$$dir; $(MAKE) --no-print-directory ); \
40 @-for dir in $(SUBDIRS); do \
41 if test -d $$dir; then \
42 ( cd $(WORKDIR)/$$dir; $(MAKE) --no-print-directory \