-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
34 lines (27 loc) · 883 Bytes
/
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
# # #
# # ‼️ STOP ‼️
# # ‼️ DO **NOT** EDIT THIS FILE ‼️
# # #
# # https://github.com/alecrabbit/dev-app-makefile
# Project: DAM tool
SHELL=/bin/bash
.DEFAULT_GOAL=help_dam_tool
# Root(Tools) directory
_DN_TOOLS=.tools
# DAM directory
_DN_DAM=.dam
__CORE_FILE=./${_DN_TOOLS}/${_DN_DAM}/core.Makefile
# Include core if present
ifneq ("$(wildcard $(__CORE_FILE))","")
include $(__CORE_FILE)
endif
__DAM_URL="https://github.com/alecrabbit/dev-app-makefile"
install_dam_tool:
@echo -e "Installing DAM tool...\n";
@wget -qO- "${__DAM_URL}/archive/refs/heads/main.tar.gz" | tar -xz \
&& shopt -s dotglob && cp -r dev-app-makefile-main/* . && shopt -u dotglob \
&& rm -r dev-app-makefile-main && ./install && make upgrade c=main
help_dam_tool:
@echo -e "DAM tool help:\n";
@echo " make install_dam_tool - install DAM tool";
@echo "";