shellcheck/Makefile
2013-06-18 09:29:39 -07:00

25 lines
460 B
Makefile

# TODO: Phase out Makefile in favor of Cabal
GHCFLAGS=-O9
all: shellcheck jsoncheck .tests
: Done
shellcheck: regardless
: Conditionally compiling shellcheck
ghc $(GHCFLAGS) --make shellcheck
jsoncheck: regardless
: Conditionally compiling shellcheck
ghc $(GHCFLAGS) --make jsoncheck
.tests: *.hs */*.hs
: Running unit tests
./test/runQuack && touch .tests
clean:
rm -f .tests shellcheck *.hi *.o ShellCheck/*.hi ShellCheck/*.o
regardless: