34770b218ef5c3100da392a3119a3b0d50d99bfb markd Thu Feb 20 17:56:46 2025 -0800 Implement old make behavior were programs will be remade after a make clean removing the .o, even though actually program is not out of date with respect to the .c diff --git src/hg/makeDb/hgGoldGapGl/makefile src/hg/makeDb/hgGoldGapGl/makefile index c0daae76a1c..87c1e9b8f72 100644 --- src/hg/makeDb/hgGoldGapGl/makefile +++ src/hg/makeDb/hgGoldGapGl/makefile @@ -1,5 +1,27 @@ kentSrc = ../../.. -A = hgGoldGapGl hgLoadGap +.NOTPARALLEL: # prevent two ntContig.o compiles at once + +# recursive make uglyness (see userArp.mk) +ifeq (${PROG},) +PROGS = hgGoldGapGl hgLoadGap + +default:: ${PROGS:%=%_default} +%_default: + ${MAKE} default PROG=$* +compile:: ${PROGS:%=%_complie} +%_compile: + ${MAKE} compile PROG=$* +clean:: ${PROGS:%=%_clean} +%_clean:: + ${MAKE} clean PROG=$* +install: ${PROGS:%=%_} +%_install: + ${MAKE} install PROG=$* + +else +A = ${PROG} extraHeaders = ntContig.h extraObjects = ntContig.o include ${kentSrc}/inc/userApp.mk + +endif