Files
shellcheck/Makefile
Carlo Marcelo Arenas Belon d6b903e6cc gitignore and makefile for building with cabal and make
makefile should also delete cabal generated files on cleanup so
they could be used interchangably.

ensure that all generated files are ignored as recommended by
bese practices.
2013-10-28 02:56:29 -07:00

24 lines
472 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 dist shellcheck jsoncheck *.hi *.o ShellCheck/*.hi ShellCheck/*.o
regardless: