Add utility function for vectorisation
[ghc-hetmet.git] / driver / split / Makefile
1 #-----------------------------------------------------------------------------
2 # $Id: Makefile,v 1.2 2000/11/03 16:54:52 simonmar Exp $
3
4 TOP=../..
5 include $(TOP)/mk/boilerplate.mk
6
7 PROG = ghc-split
8 all:: $(PROG).prl
9         $(RM) -f $(PROG)
10         echo '#!$(PERL)'                                >> $(PROG)
11         echo '$$TARGETPLATFORM  = "$(TARGETPLATFORM)";' >> $(PROG)
12         cat $<                                          >> $(PROG)
13         $(EXECUTABLE_FILE) $(PROG)
14
15 INSTALL_LIBEXEC_SCRIPTS += $(PROG)
16 CLEAN_FILES += $(PROG) $(PROG).prl
17
18 binary-dist:
19         $(INSTALL_DIR)              $(BIN_DIST_DIR)/driver/split
20         $(INSTALL_DATA)    Makefile $(BIN_DIST_DIR)/driver/split/
21         $(INSTALL_PROGRAM) $(PROG)  $(BIN_DIST_DIR)/driver/split/
22
23 include $(TOP)/mk/target.mk