From cd2e9c36a06f90ca994611500b7ac8a7c95a789e Mon Sep 17 00:00:00 2001 From: Chris Groer Date: Sun, 4 Nov 2012 22:04:42 -0500 Subject: [PATCH] More changes to Makefile to test the directories, again to avoid fork bomb --- Makefile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 5d0ef2a..4201992 100644 --- a/Makefile +++ b/Makefile @@ -34,27 +34,27 @@ test: testgraph testtree # graph: - test -d $(SRC_DIR) + test -d $(GRAPH) @($(CD) "$(GRAPH)/src";\ $(MAKE) ;\ $(CD) ..;) tree: deps - test -d $(SRC_DIR) + test -d $(TREE) @($(CD) "$(TREE)";\ $(MAKE) ;\ $(CD) ..;) ptree: ifeq ($(HAS_MADNESS), 1) - test -d $(SRC_DIR) + test -d $(PTREE) @($(CD) "$(PTREE)";\ $(MAKE) ;\ $(CD) ..;) endif valtree: - test -d $(SRC_DIR) + test -d $(TREE) @($(CD) "$(TREE)";\ $(MAKE) td_valgrind ;\ $(CD) ..;) @@ -64,7 +64,7 @@ valtree: # Targets for weighted independent set # wis: libs deps - test -d $(SRC_DIR) + test -d $(WIS) @($(CD) "$(WIS)";\ $(MAKE) ;\ $(CD) ..;) @@ -75,7 +75,7 @@ wis: libs deps # viz: graph tree - test -d $(SRC_DIR) + test -d $(VIZ) @($(CD) "$(VIZ)";\ $(MAKE) ;\ $(CD) ..;) @@ -84,7 +84,7 @@ viz: graph tree # Targets for utilities # util: graph - test -d $(SRC_DIR) + test -d $(UTIL) @($(CD) "$(UTIL)";\ $(MAKE) ;\ $(CD) ..;) @@ -97,7 +97,7 @@ util: graph $(MADLIB): ifeq ($(HAS_MADNESS), 1) - test -d $(SRC_DIR) + test -d $(MADNESS) @($(CD) "$(MADNESS)";\ $(AUTOGEN);\ $(CONFIGURE) --prefix=$(MADNESS_INSTALL_DIR);\ @@ -112,7 +112,7 @@ endif testgraph: ifeq ($(HAS_GTEST), 1) - test -d $(SRC_DIR) + test -d $(GRAPH)/test @($(CD) "$(GRAPH)/test";\ $(MAKE) ;\ $(RUN_TEST) ;\ @@ -123,7 +123,7 @@ endif testtree: ifeq ($(HAS_GTEST), 1) - test -d $(SRC_DIR) + test -d $(TREE)/test @($(CD) "$(TREE)/test";\ $(MAKE) ;\ $(RUN_TEST) ;\