summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@simplelittledream.com>2021-10-10 19:24:20 -0400
committerJacob McDonnell <jacob@simplelittledream.com>2021-10-10 19:24:20 -0400
commit3d284b88f4682ebaffe3680fdb9d63c6ad4ec7e0 (patch)
treeff5e09cd1262e55d3bfc2af9a55d101f2223fe26 /makefile
Initial Commit
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)