We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e030e4e + 0de2e93 commit 5d92e38Copy full SHA for 5d92e38
Makefile
@@ -0,0 +1,29 @@
1
+AME=bbload
2
+
3
+PREFIX?=/usr/local
4
+DOC_DIR=$(PREFIX)/share/doc/$(NAME)
5
6
+DOC_FILES=LICENSE README.md
7
8
+default: help
9
10
+install:
11
+ mkdir -p $(PREFIX)/bin
12
+ mkdir -p $(DOC_DIR)
13
+ cp bbload $(PREFIX)/bin/bbload
14
+ cp $(DOC_FILES) $(DOC_DIR)/
15
+ chmod a+x $(PREFIX)/bin/bbload
16
17
+uninstall:
18
+ rm -f $(PREFIX)/bin/bbload
19
+ rm -rf $(DOC_DIR)
20
21
+help:
22
23
+ @echo "Usage:"
24
+ @echo " "
25
+ @echo "make help [Show this help]"
26
+ @echo "make install [Install the program]"
27
+ @echo "make uninstall [Uninstall the program]"
28
29
+.PHONY: install uninstall help default
0 commit comments