0f8c686fd4147fa59b8b6cc23cec946748dc1991 markd Thu May 1 23:06:25 2025 -0700 addess issues with installing CGI loaders in beta make #35600 diff --git src/inc/userApp.mk src/inc/userApp.mk index c5d40da7411..d5983a478c7 100644 --- src/inc/userApp.mk +++ src/inc/userApp.mk @@ -1,25 +1,24 @@ ######################################################################## # user App rules, typical three-line makefile to use this rule set, # # the one program file name is specified by the 'A' variable: # kentSrc = ../.. # A = aveCols # include ${kentSrc}/inc/userApp.mk # -# If multiple programs are required, recursive make is needed, see -# hg/makeDb/hgLoadWiggle/makefile for an example. +# See userAppMulti.mk if multiple programs are required in a single directory. # # Other variables that can be defined, which needs to be done # before including userApp.mk # # for more than one object file for the resulting 'A' program, use # extraObjects = second.o third.o fourth.o etc.o # # and for extra header files for depenencies # extraHeaders = second.h third.h fourth.h etc.h # # to use object files built elsewhere: # externObjects = ../path/other.o # # use other libraries BEFORE jkweb.a # preMyLibs += path/to/lib/other.a @@ -64,15 +63,16 @@ ${A}${EXE}: ${objects} ${DEPLIBS} ${CC} ${COPT} -o $@ ${objects} ${LINKLIBS} ${L} install:: ${A:%=${DESTBINDIR}/%${EXE}} clean:: rm -f ${A}.o ${extraObjects} ${A:%=%${EXE}} @if test -d tests -a -s tests/makefile; then cd tests && ${MAKE} clean; fi test:: @if test -d tests -a -s tests/makefile; then (cd tests && ${MAKE} test); \ else echo "# no tests directory (or perhaps no tests/makefile) in $(CURDIR)"; fi ${extraObjects}: ${extraHeaders} +