From 06fe147ae78290a0db9fb9e869b5c37174caebc5 Mon Sep 17 00:00:00 2001 From: "Lucas C. Villa Real" Date: Mon, 2 Jan 2017 00:58:17 -0200 Subject: Create 'install' target and remove bogus dependency from 'debug' target. --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.1