-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
31 lines (31 loc) · 743 Bytes
/
makefile
File metadata and controls
31 lines (31 loc) · 743 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
30
31
.PHONY: build
.PHONY: debug
.PHONY: clean
.PHONY: install
build:
@echo Building app...
@shc -vrf gitback.sh -o gitback
@echo Configuring Executables...
@chmod +x gitback
@rm -f "gitback.sh.x.c"
@echo Finished!
install:
@shc -vrf gitback.sh -o gitback
@chmod +x gitback
@sudo rm -f /usr/local/bin/gitback
@sudo mv gitback /usr/local/bin/
@rm -f "gitback.sh.x.c"
debug:
@echo Building app...
@shc -vrf gitback.sh -o gitback_debug
@echo Configuring Executables...
@chmod +x gitback_debug
@echo Finished!
@echo WARNING: DEBUG BUILD, ONLY USE THIS IF YOU KNOW WHAT YOU ARE DOING!!!
clean:
@echo Cleaning directories...
@rm -f "gitback.sh.x.c"
@rm -f ./dist/gitback
@rm -f "gitback.sh.x.c"
@rm -f gitback_debug
@echo Finished!