Made Makefile marginally less sucky
This commit is contained in:
parent
c3f62aaad6
commit
e251e4a04f
7
Makefile
7
Makefile
|
@ -1,15 +1,16 @@
|
|||
all: shpell .tests
|
||||
true
|
||||
: Done
|
||||
|
||||
shpell: regardless
|
||||
ghc --make shpell #GHC handles the dependencies
|
||||
: Conditionally compiling shpell
|
||||
ghc --make shpell
|
||||
|
||||
.tests: *.hs */*.hs
|
||||
: Running unit tests
|
||||
./test/runQuack && touch .tests
|
||||
|
||||
clean:
|
||||
rm -f .tests shpell *.hi *.o Shpell/*.hi Shpell/*.o
|
||||
|
||||
regardless:
|
||||
:
|
||||
|
||||
|
|
Loading…
Reference in New Issue