diff options
| author | Joshua Rahm <joshua.rahm@colorado.edu> | 2014-03-18 23:52:40 -0600 |
|---|---|---|
| committer | Joshua Rahm <joshua.rahm@colorado.edu> | 2014-03-18 23:52:40 -0600 |
| commit | 62fa8f93990f6aedaae8242fdde6bba44e434f5f (patch) | |
| tree | d4d33f3bde43ee70b5247d9f91a3a1fc2c98552b /Makefile | |
| download | earths-ring-62fa8f93990f6aedaae8242fdde6bba44e434f5f.tar.gz earths-ring-62fa8f93990f6aedaae8242fdde6bba44e434f5f.tar.bz2 earths-ring-62fa8f93990f6aedaae8242fdde6bba44e434f5f.zip | |
initial commit
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..825ce23 --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +SHELL=/bin/bash + +all: test configure + cabal build + cp dist/build/jora2470_hw8/jora2470_hw8 . + +test: + if [[ "$$(which cabal)" == "" ]]; \ + then \ + echo cabal does not exist. Install it with \'sudo apt-get install cabal-install\'; \ + exit 1;\ + fi + +configure: +# cabal update + cabal install cabal + cabal install --only-dependencies + cabal configure + +clean: + cabal clean + - rm -f jora2470_hw8 *.hi *.o + +superclean: clean + - rm -f jora2470 $$(find . -name '.*sw*') |