summaryrefslogtreecommitdiff
path: root/makefile
blob: b35e42a7638c86f4e3095f33d36b730d552f1c1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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)