Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit de81a2c4dde6bc4b76b9213a32acb54b3f6035f3 1 parent 5458e9a
@jgm authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 Makefile
View
9 Makefile
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.