mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-03-12 12:35:25 -07:00
25 lines
460 B
Makefile
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:
|
|
|