summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rwxr-xr-x[-rw-r--r--]makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/makefile b/makefile
index b35e42a..0185b2e 100644..100755
--- a/makefile
+++ b/makefile
@@ -1,4 +1,4 @@
-export (CC) = clang
+export (CC) = gcc
#TOPTARGETS := all
SUBDIRS := src
export PROROOT := ${CURDIR}
@@ -8,7 +8,9 @@ export PROROOT := ${CURDIR}
$(SUBDIRS):
$(MAKE) -C $@ $(MAKECMDGOALS)
-all: $(SUBRIRS)
+all: build install
+
+build: $(SUBDIRS)
install:
@rm -r /opt/ProjectMustang
@@ -17,4 +19,4 @@ install:
clean: $(SUBDIRS)
@rm $(wildcard build/bin/*)
-.PHONY: install all clean $(TOPTARGETS) $(SUBDIRS)
+.PHONY: install build all clean $(TOPTARGETS) $(SUBDIRS)