Skip to content

Commit

Permalink
updated make clean to be more commit ready
Browse files Browse the repository at this point in the history
  • Loading branch information
HepaxCodex committed Nov 5, 2011
1 parent b8481fc commit c76c981
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions makefile
Expand Up @@ -3,18 +3,30 @@
all:
make clean
ghc -O2 --make TestDemos.hs
make hlint
@echo "Use \"make doc\" to make the FIPlib Documentation"

benchmarking: Benchmarking.hs
ghc -O2 --make Benchmarking.hs

dump:
make clean
ghc -O2 --make -ddump-simpl-stats TestDemos.hs > dump.txt

doc: FIPlib/Core.hs FIPlib/Filters.hs
haddock FIPlib/*.hs --ignore-all-exports -h -o FIPlib/doc

hlint: FIPlib/Core.hs FIPlib/Filters.hs
hlint --report FIPlib/

clean:
rm TestDemos
rm *.o
rm *.hi
rm FIPlib/*.o
rm FIPlib/*.hi
rm -f TestDemos
rm -f Benchmarking
rm -f *.o
rm -f *.hi
rm -f FIPlib/*.o
rm -f FIPlib/*.hi
rm -f report.html
rm -f dump.txt


0 comments on commit c76c981

Please sign in to comment.