From 0ca67c7536c8ab158c6271d8d72e9786f0e0652b Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Tue, 18 Mar 2014 01:57:23 +1100 Subject: Refactored testcases into separate modules for each language --- makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'makefile') diff --git a/makefile b/makefile index 9b0cfea..0eb8b14 100644 --- a/makefile +++ b/makefile @@ -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 -- cgit