Permalink
Browse files

Added 'test' and 'clean' targets to Makefile. Use -Wall.

  • Loading branch information...
1 parent 5458e9a commit de81a2c4dde6bc4b76b9213a32acb54b3f6035f3 @jgm committed May 14, 2008
Showing with 8 additions and 1 deletion.
  1. +8 −1 Makefile
View
@@ -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.