fix parseThat Makefile glue -- for some reason make was improperly interpreting
[dyninst.git] / parseThat / Makefile
1 VPATH = $(PLATFORM)
2 all:  $(PLATFORM)/parseThat
3 $(PLATFORM)/parseThat: $(PLATFORM)/Makefile
4         $(MAKE) -C $(PLATFORM)
5 $(PLATFORM)/Makefile: pMakefile.in
6         @if [ -d $(PLATFORM) ]; then \
7                 echo "directory $(PLATFORM) exists"; \
8         else \
9                 mkdir $(PLATFORM); \
10         fi
11         cd $(PLATFORM); \
12         ../configure --prefix=$(DYNINST_ROOT)/$(PLATFORM)/bin; \
13         mv pMakefile Makefile
14 clean:
15         cd $(PLATFORM); $(MAKE) clean;
16 distclean:
17         rm -rf $(PLATFORM)
18 install:
19         cd $(PLATFORM); $(MAKE) install;