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/inc/cgiLoader.mk src/inc/cgiLoader.mk index 295e00654ae..bbb182920e5 100644 --- src/inc/cgiLoader.mk +++ src/inc/cgiLoader.mk @@ -1,28 +1,28 @@ ######################################################################## # make rules for programs that CGI loaders. # # These are all userApps as well and this includes userApps.mk # # kentSrc = ../.. # A = aveCols # include ${kentSrc}/inc/cgiLoader.mk # ######################################################################## include ${kentSrc}/inc/userApp.mk include ${kentSrc}/inc/cgiVars.mk # this target uses CGI_BIN_DEST set in cgiVars.mk to do any of the CGI targers cgi_any:: compile - chmod a+rx ${A:%=%${EXE}} + chmod a+rx ${A}${EXE} ${MKDIR} ${CGI_BIN_DEST}/loader - chmod a+rx ${A:%=%${EXE}} - mv -f ${A:%=%${EXE}} ${CGI_BIN_DEST}/loader/ + chmod a+rx ${A}${EXE} + mv -f ${A}${EXE} ${CGI_BIN_DEST}/loader/ for F in ${SQL_FILES}; do \ B=`basename $$F` ; \ cp -fp --remove-destination $$F ${CGI_BIN_DEST}/loader/$$B ; \ done cgi:: cgi_any alpha:: cgi_any beta:: cgi_any