diff options
author | Jed Barber <jjbarber@y7mail.com> | 2014-04-10 05:25:03 +1000 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2014-04-10 05:25:03 +1000 |
commit | 281425310c5db21f87981eeb9601a71d1974d98d (patch) | |
tree | bef4643d906c93622c311fef2cf758fe94f1f651 /makefile | |
parent | e8695600977769008f285f9958eb043cca1b9b29 (diff) |
Rearranging files
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -1,5 +1,6 @@ OUTPUTDIR = bin +SOURCEDIR = src EXECUTABLES = ${OUTPUTDIR}/test \ ${OUTPUTDIR}/fractran \ @@ -24,16 +25,21 @@ distclean: testprog: - ghc ${SWITCHES} --make test.hs -o ${OUTPUTDIR}/test + cd ${SOURCEDIR}; \ + ghc ${SWITCHES} --make test.hs -o ../${OUTPUTDIR}/test fractranprog: - ghc ${SWITCHES} --make fractran.hs -o ${OUTPUTDIR}/fractran + cd ${SOURCEDIR}; \ + ghc ${SWITCHES} --make fractran.hs -o ../${OUTPUTDIR}/fractran thueprog: - ghc ${SWITCHES} --make thue.hs -o ${OUTPUTDIR}/thue + cd ${SOURCEDIR}; \ + ghc ${SWITCHES} --make thue.hs -o ../${OUTPUTDIR}/thue unlambdaprog: - ghc ${SWITCHES} --make unlambda.hs -o ${OUTPUTDIR}/unlambda + cd ${SOURCEDIR}; \ + ghc ${SWITCHES} --make unlambda.hs -o ../${OUTPUTDIR}/unlambda brainfuckprog: - ghc ${SWITCHES} --make brainfuck.hs -o ${OUTPUTDIR}/brainfuck + cd ${SOURCEDIR}; \ + ghc ${SWITCHES} --make brainfuck.hs -o ../${OUTPUTDIR}/brainfuck |