85e9fd5545cbcfb750efccbce5c94a5876f0bb86 hiram Fri Sep 2 13:02:17 2022 -0700 adding tabToTabDir and matrixToBarChartBed to the userApps no redmine diff --git src/tabFile/makefile src/tabFile/makefile index 35c8774..f2fdde9 100644 --- src/tabFile/makefile +++ src/tabFile/makefile @@ -1,36 +1,45 @@ # Build all directories in tabFiles kentSrc = .. include ${kentSrc}/inc/localEnvironment.mk include ${kentSrc}/inc/common.mk # note: lists such as the following need to be defined *before* # they are used in the wildcard target rules. An oddity of gnu make +# List of directories to build for userApps +UTILS_APPLIST = \ + tabToTabDir + # List of all directories to build ALL_APPS = \ tabInfo \ tabQuery \ tabRepeatedFieldsToArrayField \ tabToHtml \ tabToTabDir all: $(ALL_APPS:%=%.all) %.all: cd $* && echo $* && $(MAKE) +userApps: $(UTILS_APPLIST:%=%.userApp) + +%.userApp: + cd $* && echo $* && $(MAKE) + test: $(ALL_APPS:%=%.test) %.test: @test -s $*/tests/makefile && (echo $*; cd $* && $(MAKE) test) || true clean: $(ALL_APPS:%=%.clean) touch non-empty-rm.o - find . -name \*.o -print | xargs rm %.clean: cd $* && echo $* && $(MAKE) clean