Skip to content

Commit

Permalink
Added 'test' and 'clean' targets to Makefile. Use -Wall.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed May 14, 2008
1 parent 5458e9a commit de81a2c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
testdir = MarkdownTest

Markdown : Markdown.hs Text/Pandoc/XML.hs Text/Parsers/Frisby.hs Text/Parsers/Frisby/Char.hs
ghc -O2 -W --make Markdown.hs
ghc -O2 -Wall --make Markdown.hs

test : Markdown
${testdir}/MarkdownTest.pl --tidy --script=./Markdown --testdir=${testdir}/Tests

clean :
-rm Markdown.o Markdown.hi Markdown

0 comments on commit de81a2c

Please sign in to comment.