X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=207770af85709f27903aeefe7c48b661ca24434b;hb=0ddc996d5622f138953ad027cc425713a276b46a;hp=a2327ddde0be85c268a774f7a0825cda75e9e2a0;hpb=ea83c59276daa4b9db5a50de0aaa564130a93d40;p=dead%2Fhtsn-import.git diff --git a/makefile b/makefile index a2327dd..207770a 100644 --- a/makefile +++ b/makefile @@ -8,7 +8,10 @@ $(BIN): $(PN).cabal $(SRCS) runghc Setup.hs configure --user --prefix=/ runghc Setup.hs build -profile: $(PN).cabal $(SRCS) +# The $(BIN) dependency means that we should build once normally +# before attempting the profiling build (this is required for some +# reason). +profile: $(PN).cabal $(SRCS) $(BIN) runghc Setup.hs configure --user \ --enable-executable-profiling \ --prefix=/