This repository was archived by the owner on Feb 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
50 lines (40 loc) · 1.6 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
#-------------------------------------------------------------------------------
# Copyright 2018-2019 Dominik Salvet
# SPDX-License-Identifier: MIT
# https://github.com/dominiksalvet/gim
#-------------------------------------------------------------------------------
# DESCRIPTION:
# This file represents a makefile for gim. It support both the installation
# and the uninstallation of gim. It also respects some macro assignments.
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# DEFINITIONS
#-------------------------------------------------------------------------------
.POSIX: # this file should be processed as a POSIX makefile
.SILENT: # do not print the lines that are being executed
# environment definitions
ECHO = echo
# directory definitions
GIM_DIR = .
#-------------------------------------------------------------------------------
# TARGETS
#-------------------------------------------------------------------------------
all: # there is no building required
install:
'$(GIM_DIR)'/make/install '$(GIM_DIR)'
uninstall:
'$(GIM_DIR)'/make/uninstall '$(GIM_DIR)'
help:
$(ECHO) 'USAGE:'
$(ECHO) ' make [TARGET...] [MACRO=VALUE...]'
$(ECHO)
$(ECHO) 'TARGET:'
$(ECHO) ' all do nothing (default)'
$(ECHO) ' install install gim'
$(ECHO) ' uninstall uninstall gim'
$(ECHO) ' help show this help'
$(ECHO)
$(ECHO) 'MACRO:'
$(ECHO) ' PREFIX installation prefix'
$(ECHO) ' INSTALLER installer name (caller)'
$(ECHO) ' DB_DIR installer database directory'