blob: 0185b2e6e7d82981adf4688f90c81396f96bc1b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
export (CC) = gcc
#TOPTARGETS := all
SUBDIRS := src
export PROROOT := ${CURDIR}
#$(TOPTARGETS): $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@ $(MAKECMDGOALS)
all: build install
build: $(SUBDIRS)
install:
@rm -r /opt/ProjectMustang
@cp -r build/ /opt/ProjectMustang/
clean: $(SUBDIRS)
@rm $(wildcard build/bin/*)
.PHONY: install build all clean $(TOPTARGETS) $(SUBDIRS)
|