2cc81b7e75
Building m-p-d stuff in-tree was plagued by accidental generated file commits, and it wasn't nice at all anyways.
13 lines
291 B
Makefile
13 lines
291 B
Makefile
clean:
|
|
@echo '** cleaning up...'
|
|
@[ -d build/ ] && \
|
|
make -C build/image $@ GLOBAL_BUILDDIR=$(shell readlink build) \
|
|
||:
|
|
|
|
distclean: clean
|
|
@[ -d build/ ] && \
|
|
make -C build/image $@ GLOBAL_BUILDDIR=$(shell readlink build) && \
|
|
rm -r $(shell readlink build) && \
|
|
rm build \
|
|
||:
|