X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=207770af85709f27903aeefe7c48b661ca24434b;hb=c12f03320bbc13fe818557e44b0dd0fba5896251;hp=a2327ddde0be85c268a774f7a0825cda75e9e2a0;hpb=6582d0664af4a86919ce6d080dade6f81688d427;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=/