22 lines
383 B
Makefile
22 lines
383 B
Makefile
.PHONY: all install test clean clean-install clean-build
|
|
|
|
all:
|
|
cabal build
|
|
|
|
test: all
|
|
dist/build/hedit/hedit examples/example1
|
|
|
|
test2: all
|
|
dist/build/hedit/hedit examples/example2
|
|
|
|
clean:
|
|
rm -fR dist/
|
|
|
|
clean-install: clean
|
|
rm -fR .cabal-sandbox cabal.sandbox.config
|
|
cabal sandbox init
|
|
cabal update
|
|
cabal install -j --force-reinstalls
|
|
|
|
clean-build: clean-install
|
|
cabal build
|