From 5cdb8d1c2f30fbdca11abe91d555c9cdbfb4e884 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Fri, 29 Mar 2019 03:13:31 +0100 Subject: [PATCH] Makefile: mark phony targets and clean the "clean" target --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 1f1aaaa79..f5ea68195 100644 --- a/Makefile +++ b/Makefile @@ -12,10 +12,8 @@ ENV_SCRIPT := "../../env.sh" TOOLS := beacon_node validator_keygen bench_bls_sig_agggregation state_sim TOOLS_DIRS := beacon_chain benchmarks research -# comma-separated values for the "clean" target -TOOLS_CSV := $(subst $(SPACE),$(COMMA),$(TOOLS)) -.PHONY: all sanity-checks deps test $(TOOLS) clean_eth2_network_simulation_files eth2_network_simulation +.PHONY: all sanity-checks deps test $(TOOLS) clean_eth2_network_simulation_files eth2_network_simulation clean-testnet0 testnet0-nocleaning testnet0 clean-testnet1 testnet1-nocleaning testnet1 clean all: | $(TOOLS) @@ -60,5 +58,5 @@ testnet1-nocleaning: | build deps testnet1: | clean-testnet1 testnet1-nocleaning clean: - rm -rf build/{$(TOOLS_CSV),all_tests,*.exe} nimcache + rm -rf build/* nimcache