aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLucas C. Villa Real <lucasvr@gmail.com>2017-01-02 00:58:17 -0200
committerLucas C. Villa Real <lucasvr@gmail.com>2017-01-02 00:58:17 -0200
commit06fe147ae78290a0db9fb9e869b5c37174caebc5 (patch)
treeb253103e07a2c3f691addccc55c1cc9f5d8e3ea3 /Makefile
parent674fe65facf17062794d91f9b0aa22f5bc962d8e (diff)
downloadThirdPartyInstallers-06fe147ae78290a0db9fb9e869b5c37174caebc5.tar.xz
Create 'install' target and remove bogus dependency from 'debug' target.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d327c73..9c2d628 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,17 @@
+PREFIX = /usr
EXEC_FILES = $(patsubst src/%.c,bin/%,$(wildcard src/*.c))
all: $(EXEC_FILES)
-debug: python
+debug:
cd src; $(MAKE) debug
+install:
+ install -d $(PREFIX)/bin
+ install -d $(PREFIX)/Resources
+ install --mode=644 Resources/Dependencies $(PREFIX)/Resources
+ install --mode=755 $(wildcard bin/*) $(PREFIX)/bin
+
clean:
rm -rf Resources/FileHash*
find * -path "*~" -or -path "*/.\#*" -or -path "*.bak" | xargs rm -f