Add a header to all build system files:
[ghc-hetmet.git] / utils / touchy / Makefile
1 # -----------------------------------------------------------------------------
2 #
3 # (c) 2009 The University of Glasgow
4 #
5 # This file is part of the GHC build system.
6 #
7 # To understand how the build system works and how to modify it, see
8 #      http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
9 #      http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
10 #
11 # -----------------------------------------------------------------------------
12
13 #
14 # Substitute for 'touch' on win32 platforms (without an Unix toolset installed).
15 #
16 TOP=../..
17 include $(TOP)/mk/boilerplate.mk
18
19 C_SRCS=touchy.c
20 C_PROG=touchy
21 SRC_CC_OPTS += -O
22
23 #
24 # Install touchy in lib/.*
25 #
26 INSTALL_LIBEXECS += $(C_PROG)
27
28 include $(TOP)/mk/target.mk
29
30 # Get it over with!
31 boot :: all
32
33 binary-dist:
34         $(INSTALL_DIR)               $(BIN_DIST_DIR)/utils/touchy
35         $(INSTALL_DATA)    Makefile  $(BIN_DIST_DIR)/utils/touchy/
36         $(INSTALL_PROGRAM) $(C_PROG) $(BIN_DIST_DIR)/utils/touchy/
37