-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
66 lines (49 loc) · 1.52 KB
/
Makefile
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
########################################################################
#
# Generic Makefile
#
# Time-stamp: <Friday 2021-12-03 08:28:55 AEDT Graham Williams>
#
# Copyright (c) [email protected]
#
# License: Creative Commons Attribution-ShareAlike 4.0 International.
#
########################################################################
# App version numbers
# Major release
# Minor update
# Trivial update or bug fix
APP=myapp
VER=0.0.1
DATE=$(shell date +%Y-%m-%d)
########################################################################
# Supported Makefile modules.
# Often the support Makefiles will be in the local support folder, or
# else installed in the local user's shares.
INC_BASE=support
INC_BASE=$(HOME)/.local/share/make
# Specific Makefiles will be loaded if they are found in
# INC_BASE. Sometimes the INC_BASE is shared by multiple local
# Makefiles and we want to skip specific makes. Simply define the
# appropriate INC to a non-existant location and it will be skipped.
INC_DOCKER=skip
# Load any modules available.
INC_MODULE=$(INC_BASE)/modules.mk
ifneq ("$(wildcard $(INC_MODULE))","")
include $(INC_MODULE)
endif
########################################################################
# HELP
#
# Help for targets defined in this Makefile.
define HELP
$(APP):
locals E.g., install $(APP)
endef
export HELP
help::
@echo "$$HELP"
########################################################################
# LOCAL TARGETS
locals:
@echo "This might be the instructions to install $(APP)"