Made Makefile marginally less sucky
This commit is contained in:
parent
c3f62aaad6
commit
e251e4a04f
9
Makefile
9
Makefile
|
@ -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:
|
||||||
:
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue