6 # Ideally we'd just include something to give us variables
7 # for paths and arguments to tools etc, and those set in mk/build.mk.
9 include $(TOP)/mk/boilerplate.mk
12 $(RM) -rf $(BIN_DIST_INST_SUBDIR)
14 $(RM) HelloWorld HelloWorld.o HelloWorld.hi output
15 # --force-local makes tar not think that c:/foo refers to a remote file
16 $(TAR) --force-local -jxf $(BIN_DIST_TAR_BZ2)
17 ifeq "$(Windows)" "YES"
18 mv $(BIN_DIST_NAME) $(BIN_DIST_INST_DIR)
20 cd $(BIN_DIST_NAME) && ./configure --prefix=$(BIN_DIST_INST_DIR)
21 cd $(BIN_DIST_NAME) && make install
23 $(BIN_DIST_INST_DIR)/bin/ghc --make HelloWorld
25 $(CONTEXT_DIFF) output expected_output
28 $(RM) -rf $(BIN_DIST_INST_SUBDIR)
30 $(RM) HelloWorld HelloWorld.o HelloWorld.hi output
32 # Ignore a load of other standard targets
33 install install-docs doc: