From: Michael Orlitzky Date: Fri, 15 Jul 2011 15:49:05 +0000 (-0400) Subject: Remove a useless import. X-Git-Tag: 0.0.1~252 X-Git-Url: https://gitweb.michael.orlitzky.com/?p=spline3.git;a=commitdiff_plain;h=a97defacc74e0b34c7f12f8a436da39e5124ac10 Remove a useless import. Output *.hi and *.o files to /tmp. A tiny bit of makefile cleanup. --- diff --git a/makefile b/makefile index 36f07cd..a15145d 100644 --- a/makefile +++ b/makefile @@ -6,19 +6,21 @@ GHC_WARNINGS += -fwarn-orphans GHC_WARNINGS += -fwarn-type-defaults BIN := spline3 +GHC_OPTS := $(GHC_WARNINGS) -odir /tmp -hidir /tmp --make -o bin/${BIN} + .PHONY : test publish_doc doc src_html hlint $(BIN): src/*.hs - ghc -O2 $(GHC_WARNINGS) --make -o bin/${BIN} src/*.hs + ghc -O2 $(GHC_OPTS) src/*.hs all: $(BIN) test_src test_src: src/Tests/*.hs - ghc -O2 $(GHC_WARNINGS) --make -o bin/${BIN} src/*.hs src/Tests/*.hs + ghc -O2 $(GHC_OPTS) src/*.hs src/Tests/*.hs profile: src/*.hs - ghc -O2 $(GHC_WARNINGS) -prof -auto-all --make -o bin/$(BIN) src/*.hs + ghc -O2 $(GHC_OPTS) -prof -auto-all src/*.hs clean: rm -f bin/$(BIN) diff --git a/src/Tests/Grid.hs b/src/Tests/Grid.hs index 31dfdff..15bbc98 100644 --- a/src/Tests/Grid.hs +++ b/src/Tests/Grid.hs @@ -2,7 +2,6 @@ module Tests.Grid where import Data.Maybe (fromJust) -import Debug.Trace (trace) import Test.HUnit import Test.QuickCheck