]> gitweb.michael.orlitzky.com - spline3.git/commitdiff
Remove a useless import.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 15 Jul 2011 15:49:05 +0000 (11:49 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 15 Jul 2011 15:49:05 +0000 (11:49 -0400)
Output *.hi and *.o files to /tmp.
A tiny bit of makefile cleanup.

makefile
src/Tests/Grid.hs

index 36f07cd14154904f9949690b46d5d4abf7155262..a15145d35d115435167b67880cb0c611845a00d0 100644 (file)
--- 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)
index 31dfdffb5cbf1fd4342162ccb577f51cc91aa6a1..15bbc9826e11ca15a6d80c4ed646ca3a2d76a62a 100644 (file)
@@ -2,7 +2,6 @@ module Tests.Grid
 where
 
 import Data.Maybe (fromJust)
-import Debug.Trace (trace)
 import Test.HUnit
 import Test.QuickCheck