382388fe77f4ac662c72647d397c0788951d400c
[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 include $(TOP)/mk/target.mk