summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..b35e42a
--- /dev/null
+++ b/makefile
@@ -0,0 +1,20 @@
+export (CC) = clang
+#TOPTARGETS := all
+SUBDIRS := src
+export PROROOT := ${CURDIR}
+
+#$(TOPTARGETS): $(SUBDIRS)
+
+$(SUBDIRS):
+ $(MAKE) -C $@ $(MAKECMDGOALS)
+
+all: $(SUBRIRS)
+
+install:
+ @rm -r /opt/ProjectMustang
+ @cp -r build/ /opt/ProjectMustang/
+
+clean: $(SUBDIRS)
+ @rm $(wildcard build/bin/*)
+
+.PHONY: install all clean $(TOPTARGETS) $(SUBDIRS)