Commit c7e05d2b by Miodrag Milanovic

clean fix

parent 6eb58500
......@@ -5,7 +5,7 @@ all: $(design)/work_sim/.stamp
$(design)/work_sim/.stamp:
@echo 'Running $(design)/sim..'
@bash run.sh $(design) sim
clean:
clean::
@echo 'Cleaning $(design)/sim..'
@rm -rf $(design)/work_sim
......@@ -13,7 +13,7 @@ all: $(design)/work_falsify/.stamp
$(design)/work_falsify/.stamp:
@echo 'Running $(design)/falsify..'
@bash run.sh $(design) falsify
clean:
clean::
@echo 'Cleaning $(design)/falsify..'
@rm -rf $(design)/work_falsify
$(foreach script,$(2),
......@@ -21,7 +21,7 @@ all: $(design)/work_$(script)/.stamp
$(design)/work_$(script)/.stamp: $(design)/work_sim/.stamp
@echo 'Running $(design)/$(script)..'
@bash run.sh $(design) $(script)
clean:
clean::
@echo 'Cleaning $(design)/$(script)..'
@rm -rf $(design)/work_$(script)
))
......
......@@ -17,7 +17,7 @@ for root, dirs, files in sorted(os.walk(".")):
continue
print("\t@echo 'Running {2}{1}..'\n"
"\t@../run.sh {0} {1}\n"
"clean:\n"
"clean::\n"
"\t@echo 'Cleaning {1}..'\n"
"\t@rm -rf {0}/work_{1}".format(dir, work, "heavy " if heavy else ""))
print(".PHONY: all clean")
\ No newline at end of file
......@@ -17,7 +17,7 @@ for root, dirs, files in sorted(os.walk(".")):
continue
print("\t@echo 'Running {2}{1}..'\n"
"\t@../run.sh {0} {1}\n"
"clean:\n"
"clean::\n"
"\t@echo 'Cleaning {1}..'\n"
"\t@rm -rf {0}/work_{1}".format(dir, work, "heavy " if heavy else ""))
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