diff options
author | Lucas C. Villa Real <lucasvr@gmail.com> | 2016-12-05 20:20:26 +0000 |
---|---|---|
committer | Lucas C. Villa Real <lucasvr@gmail.com> | 2016-12-05 20:20:26 +0000 |
commit | 5e0d67f455f6b481ef53793d19dd37c8778138f6 (patch) | |
tree | cae23d1337e91de517c98aabce4685cb85008766 /Makefile | |
download | ThirdPartyInstallers-5e0d67f455f6b481ef53793d19dd37c8778138f6.tar.xz |
First commit.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d327c73 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +EXEC_FILES = $(patsubst src/%.c,bin/%,$(wildcard src/*.c)) + +all: $(EXEC_FILES) + +debug: python + cd src; $(MAKE) debug + +clean: + rm -rf Resources/FileHash* + find * -path "*~" -or -path "*/.\#*" -or -path "*.bak" | xargs rm -f + cd src && $(MAKE) clean + rm -f $(EXEC_FILES) + +$(EXEC_FILES): bin/%: src/% + cp -af $< $@ + chmod a+x $@ + +src/%: src/%.c + $(MAKE) -C src + +.PHONY: all debug clean |