forked from 0xFACE/BlueBasic-loader
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (21 loc) · 620 Bytes
/
Makefile
File metadata and controls
29 lines (21 loc) · 620 Bytes
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
AME=bbload
PREFIX?=/usr/local
DOC_DIR=$(PREFIX)/share/doc/$(NAME)
DOC_FILES=LICENSE README.md
default: help
install:
mkdir -p $(PREFIX)/bin
mkdir -p $(DOC_DIR)
cp bbload $(PREFIX)/bin/bbload
cp $(DOC_FILES) $(DOC_DIR)/
chmod a+x $(PREFIX)/bin/bbload
uninstall:
rm -f $(PREFIX)/bin/bbload
rm -rf $(DOC_DIR)
help:
@echo "Usage:"
@echo " "
@echo "make help [Show this help]"
@echo "make install [Install the program]"
@echo "make uninstall [Uninstall the program]"
.PHONY: install uninstall help default