CVSROOT: /cvs Module name: src Changes by: nat...@cvs.openbsd.org 2016/11/05 09:48:54
Modified files: sys/arch/alpha/compile: Makefile.inc sys/arch/amd64/compile: Makefile.inc sys/arch/armv7/compile: Makefile.inc sys/arch/hppa/compile: Makefile.inc sys/arch/i386/compile: Makefile.inc sys/arch/landisk/compile: Makefile.inc sys/arch/loongson/compile: Makefile.inc sys/arch/luna88k/compile: Makefile.inc sys/arch/macppc/compile: Makefile.inc sys/arch/octeon/compile: Makefile.inc sys/arch/sgi/compile: Makefile.inc sys/arch/socppc/compile: Makefile.inc sys/arch/sparc64/compile: Makefile.inc Log message: Two tweaks for compile/Makefile.inc: 1) Replace '.elif !exists(${OBJDIR}/Makefile)' with just '.else'. espie pointed out, that if the file existed, make wouldn't be reading this file, so the check is superflous. Less clutter. 2) Unconditionally define the 'clean' and 'cleandir' targets, also when obj doesn't exist. This changes the behaviour of 'make clean' to be successful (doing nothing) without obj@ or obj/. ok tb millert deraadt