diff options
Diffstat (limited to 'testsuite/tests/driver/recomp002/Makefile')
-rw-r--r-- | testsuite/tests/driver/recomp002/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/tests/driver/recomp002/Makefile b/testsuite/tests/driver/recomp002/Makefile new file mode 100644 index 0000000000..0dd8f47ca4 --- /dev/null +++ b/testsuite/tests/driver/recomp002/Makefile @@ -0,0 +1,16 @@ +TOP=../../.. +include $(TOP)/mk/boilerplate.mk +include $(TOP)/mk/test.mk + +# Recompilation tests + +clean: + rm -f *.o* + rm -f *.hi* + +# Only the first invocation should print any "Compiling" messages + +recomp002: clean + '$(TEST_HC)' $(TEST_HC_OPTS) --make Q.hs + echo Middle >&2 + '$(TEST_HC)' $(TEST_HC_OPTS) --make Q.hs |