Commit c7e05d2b by Miodrag Milanovic

clean fix

parent 6eb58500
...@@ -5,7 +5,7 @@ all: $(design)/work_sim/.stamp ...@@ -5,7 +5,7 @@ all: $(design)/work_sim/.stamp
$(design)/work_sim/.stamp: $(design)/work_sim/.stamp:
@echo 'Running $(design)/sim..' @echo 'Running $(design)/sim..'
@bash run.sh $(design) sim @bash run.sh $(design) sim
clean: clean::
@echo 'Cleaning $(design)/sim..' @echo 'Cleaning $(design)/sim..'
@rm -rf $(design)/work_sim @rm -rf $(design)/work_sim
...@@ -13,7 +13,7 @@ all: $(design)/work_falsify/.stamp ...@@ -13,7 +13,7 @@ all: $(design)/work_falsify/.stamp
$(design)/work_falsify/.stamp: $(design)/work_falsify/.stamp:
@echo 'Running $(design)/falsify..' @echo 'Running $(design)/falsify..'
@bash run.sh $(design) falsify @bash run.sh $(design) falsify
clean: clean::
@echo 'Cleaning $(design)/falsify..' @echo 'Cleaning $(design)/falsify..'
@rm -rf $(design)/work_falsify @rm -rf $(design)/work_falsify
$(foreach script,$(2), $(foreach script,$(2),
...@@ -21,7 +21,7 @@ all: $(design)/work_$(script)/.stamp ...@@ -21,7 +21,7 @@ all: $(design)/work_$(script)/.stamp
$(design)/work_$(script)/.stamp: $(design)/work_sim/.stamp $(design)/work_$(script)/.stamp: $(design)/work_sim/.stamp
@echo 'Running $(design)/$(script)..' @echo 'Running $(design)/$(script)..'
@bash run.sh $(design) $(script) @bash run.sh $(design) $(script)
clean: clean::
@echo 'Cleaning $(design)/$(script)..' @echo 'Cleaning $(design)/$(script)..'
@rm -rf $(design)/work_$(script) @rm -rf $(design)/work_$(script)
)) ))
......
...@@ -17,7 +17,7 @@ for root, dirs, files in sorted(os.walk(".")): ...@@ -17,7 +17,7 @@ for root, dirs, files in sorted(os.walk(".")):
continue continue
print("\t@echo 'Running {2}{1}..'\n" print("\t@echo 'Running {2}{1}..'\n"
"\t@../run.sh {0} {1}\n" "\t@../run.sh {0} {1}\n"
"clean:\n" "clean::\n"
"\t@echo 'Cleaning {1}..'\n" "\t@echo 'Cleaning {1}..'\n"
"\t@rm -rf {0}/work_{1}".format(dir, work, "heavy " if heavy else "")) "\t@rm -rf {0}/work_{1}".format(dir, work, "heavy " if heavy else ""))
print(".PHONY: all clean") print(".PHONY: all clean")
\ No newline at end of file
...@@ -17,7 +17,7 @@ for root, dirs, files in sorted(os.walk(".")): ...@@ -17,7 +17,7 @@ for root, dirs, files in sorted(os.walk(".")):
continue continue
print("\t@echo 'Running {2}{1}..'\n" print("\t@echo 'Running {2}{1}..'\n"
"\t@../run.sh {0} {1}\n" "\t@../run.sh {0} {1}\n"
"clean:\n" "clean::\n"
"\t@echo 'Cleaning {1}..'\n" "\t@echo 'Cleaning {1}..'\n"
"\t@rm -rf {0}/work_{1}".format(dir, work, "heavy " if heavy else "")) "\t@rm -rf {0}/work_{1}".format(dir, work, "heavy " if heavy else ""))
print(".PHONY: all clean") print(".PHONY: all clean")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment