74713bf989016a59eea9825daf922cf8ac377720 markd Wed Mar 5 14:06:53 2025 -0800 fixed userApp in docker make problem caused by blatHuge and gfServerHuge rules diff --git src/blat/makefile src/blat/makefile index 48fa3968068..7df5a089dea 100644 --- src/blat/makefile +++ src/blat/makefile @@ -1,38 +1,37 @@ kentSrc = .. include ${kentSrc}/inc/common.mk -compile:: - ${MAKE} build - ${MAKE} build IDXSIZE=huge - ifeq (${IDXSIZE},huge) A = blatHuge CFLAGS += -DGFSERVER_HUGE preMyLibs += ../lib/$(MACHTYPE)/jkOwnLibHuge.a else A = blat preMyLibs += ../lib/$(MACHTYPE)/jkOwnLib.a endif -# this must be include here, after the above setup but before the build target -include $(kentSrc)/inc/userApp.mk +build_both: + ${MAKE} do_build + ${MAKE} do_build IDXSIZE=huge -build: ${DESTDIR}${BINDIR}/${A}${EXE} -L += -lm $(SOCKETLIB) +do_build: default + +# this must be include here, after the above setup but before the build target +include $(kentSrc)/inc/userApp.mk blatHuge.c: blat.c ln -sf $< $@ tags: ctags *.c *.h ../lib/*.c ../inc/*.h test:: cd test && ${MAKE} clean:: ${MAKE} clean_idxsize ${MAKE} clean_idxsize IDXSIZE=huge cd test && ${MAKE} clean