summaryrefslogtreecommitdiff
path: root/mk/gen.mk
blob: 95ba44dbbaa016a180ff86b8b9ef36a92c74f576 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#-----------------------------------------------------------------------------
# $Id: gen.mk,v 1.2 1996/11/21 16:50:32 simonm Exp $

# General include file for the top of a Makefile.

# So `all' is the default target...

all ::
	@:

include $(TOP)/mk/platform.mk
include $(TOP)/mk/utils.mk
include $(TOP)/mk/rules.mk
include $(TOP)/mk/install.mk

# fastmake omits the dependencies

ifndef FAST
-include .depend
endif

whoami::
	@echo $(PROJECTNAME), version $(PROJECTVERSION) $(PROJECTPATCHLEVEL)
	@echo project\: $(PROJECTLABEL)\; setup\: $(SETUPLABEL)
	@echo now building on a \`$(BUILDPLATFORM)\' host
	@echo hoping to run on a \`$(HOSTPLATFORM)\' host

clean::
	$(RM) $(FilesToClean) \#*

veryclean::
	$(RM) $(FilesToClean) $(ExtraFilesToBeVeryClean) \#*

tags::
	$(RM) TAGS; touch TAGS

depend::