[project @ 1996-11-21 16:45:53 by simonm]
[ghc.git] / mk / gen.mk
1 #-----------------------------------------------------------------------------
2 # $Id: gen.mk,v 1.2 1996/11/21 16:50:32 simonm Exp $
3
4 # General include file for the top of a Makefile.
5
6 # So `all' is the default target...
7
8 all ::
9 @:
10
11 include $(TOP)/mk/platform.mk
12 include $(TOP)/mk/utils.mk
13 include $(TOP)/mk/rules.mk
14 include $(TOP)/mk/install.mk
15
16 # fastmake omits the dependencies
17
18 ifndef FAST
19 -include .depend
20 endif
21
22 whoami::
23 @echo $(PROJECTNAME), version $(PROJECTVERSION) $(PROJECTPATCHLEVEL)
24 @echo project\: $(PROJECTLABEL)\; setup\: $(SETUPLABEL)
25 @echo now building on a \`$(BUILDPLATFORM)\' host
26 @echo hoping to run on a \`$(HOSTPLATFORM)\' host
27
28 clean::
29 $(RM) $(FilesToClean) \#*
30
31 veryclean::
32 $(RM) $(FilesToClean) $(ExtraFilesToBeVeryClean) \#*
33
34 tags::
35 $(RM) TAGS; touch TAGS
36
37 depend::