public
Description: A Haskell implementation of markdown using a PEG grammar
Homepage:
Clone URL: git://github.com/jgm/markdown-peg.git
markdown-peg / Makefile
100644 15 lines (11 sloc) 0.478 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
testdir = MarkdownTest
GHCOPTS ?= -O2 -Wall
 
Markdown : Markdown.hs Text/Pandoc/XML.hs Text/Parsers/Frisby.hs Text/Parsers/Frisby/Char.hs
ghc $(GHCOPTS) --make Markdown.hs
 
test : Markdown
${testdir}/MarkdownTest.pl --tidy --script=./Markdown --testdir=${testdir}/Tests
 
clean :
-rm Markdown.hi Markdown.o Markdown \
Text/Pandoc/XML/XML.hi Text/Pandoc/XML/XML.o \
Text/Parsers/Frisby.hi Text/Parsers/Frisby.o \
Text/Parsers/Frisby/Char.hi Text/Parsers/Frisby/Char.o