Permalink
Browse files

Adding Makefile.

darcs-hash:20080225044618-0a35a-8b54c4f4a11707d9bdc90050183ab57fd9834f91.gz
  • Loading branch information...
1 parent 5837b90 commit 57b7b2265139a24c4f420a8fd09a10ad331594ab Chris Forno committed Feb 25, 2008
Showing with 13 additions and 0 deletions.
  1. +13 −0 Makefile
View
@@ -0,0 +1,13 @@
+PROGRAM = ingressgraph
+
+all : $(PROGRAM)
+
+ingressgraph : $(PROGRAM).lhs
+ ghc -package parsec -fglasgow-exts -o $(PROGRAM) $<
+
+pdf : $(PROGRAM).lhs
+ lhs2TeX $< > $(PROGRAM).tex
+ pdflatex $(PROGRAM).tex
+
+sloc : $(PROGRAM).lhs
+ lhs2TeX --code $< | grep --invert-match '^ *$$' | wc --lines

0 comments on commit 57b7b22

Please sign in to comment.