Avoid creating / including generated makefiles when cleaning
This commit is contained in:
parent
726d11f653
commit
7f99f2fbc4
4
Makefile
4
Makefile
@ -129,7 +129,9 @@ base/lib/ld.so: linker/linker.c base/lib/libc.a | dirs
|
||||
.make/%.lmak: lib/%.c util/auto-dep.py | dirs
|
||||
util/auto-dep.py --makelib $< > $@
|
||||
|
||||
ifeq (,$(findstring clean,$(MAKECMDGOALS)))
|
||||
-include ${LIBS_Y}
|
||||
endif
|
||||
|
||||
# Init
|
||||
|
||||
@ -141,7 +143,9 @@ base/bin/init: apps/init.c base/lib/libc.a | dirs
|
||||
.make/%.mak: apps/%.c util/auto-dep.py | dirs
|
||||
util/auto-dep.py --make $< > $@
|
||||
|
||||
ifeq (,$(findstring clean,$(MAKECMDGOALS)))
|
||||
-include ${APPS_Y}
|
||||
endif
|
||||
|
||||
# Ramdisk
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user