projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add tools to test that cleaning works properly
[ghc-hetmet.git]
/
utils
/
testremove
/
ghc.mk
diff --git a/utils/testremove/ghc.mk
b/utils/testremove/ghc.mk
new file mode 100644
(file)
index 0000000..
ac9ef6c
--- /dev/null
+++ b/
utils/testremove/ghc.mk
@@ -0,0
+1,9
@@
+
+.PHONY: utils/testremove_all
+utils/testremove_all: utils/testremove/wouldrm utils/testremove/checkremove
+
+utils/testremove/wouldrm: $$@.hs
+ $(GHC_STAGE1) --make -O $@
+
+utils/testremove/checkremove: $$@.hs
+ $(GHC_STAGE1) --make -O $@