diff options
author | Jed Barber <jjbarber@y7mail.com> | 2014-03-18 01:57:23 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2014-03-18 01:57:23 +1100 |
commit | 0ca67c7536c8ab158c6271d8d72e9786f0e0652b (patch) | |
tree | 33860dd4e6863c6f68db73ce14bf16bd358d4e67 /makefile | |
parent | eecb6118d595caffa169e4ababce30e6b8829088 (diff) |
Refactored testcases into separate modules for each language
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -3,6 +3,8 @@ OUTPUTDIR = bin EXECUTABLES = ${OUTPUTDIR}/test ${OUTPUTDIR}/fractran ${OUTPUTDIR}/thue ${OUTPUTDIR}/unlambda +SWITCHES = -XDeriveDataTypeable + all: testprog fractranprog thueprog unlambdaprog @@ -18,14 +20,14 @@ distclean: testprog: - ghc -XDeriveDataTypeable --make test.hs -o ${OUTPUTDIR}/test + ghc ${SWITCHES} --make test.hs -o ${OUTPUTDIR}/test fractranprog: - ghc --make fractran.hs -o ${OUTPUTDIR}/fractran + ghc ${SWITCHES} --make fractran.hs -o ${OUTPUTDIR}/fractran thueprog: - ghc --make thue.hs -o ${OUTPUTDIR}/thue + ghc ${SWITCHES} --make thue.hs -o ${OUTPUTDIR}/thue unlambdaprog: - ghc -XDeriveDataTypeable --make unlambda.hs -o ${OUTPUTDIR}/unlambda + ghc ${SWITCHES} --make unlambda.hs -o ${OUTPUTDIR}/unlambda |