Made Makefile marginally less sucky

This commit is contained in:
Vidar Holen 2012-11-05 17:37:48 -08:00
parent c3f62aaad6
commit e251e4a04f
1 changed files with 5 additions and 4 deletions

View File

@ -1,15 +1,16 @@
all: shpell .tests all: shpell .tests
true : Done
shpell: regardless shpell: regardless
ghc --make shpell #GHC handles the dependencies : Conditionally compiling shpell
ghc --make shpell
.tests: *.hs */*.hs .tests: *.hs */*.hs
: Running unit tests
./test/runQuack && touch .tests ./test/runQuack && touch .tests
clean: clean:
rm -f .tests shpell *.hi *.o Shpell/*.hi Shpell/*.o rm -f .tests shpell *.hi *.o Shpell/*.hi Shpell/*.o
regardless: regardless:
: