build with -O2 by default
This commit is contained in:
		
							parent
							
								
									726594f09a
								
							
						
					
					
						commit
						dc497e0c26
					
				
							
								
								
									
										8
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								Makefile
									
									
									
									
									
								
							| @ -1,5 +1,4 @@ | ||||
| BUILD=ghc --make hledger.hs -o hledger | ||||
| BUILDOPT=$(BUILD)opt -O2 | ||||
| BUILD=ghc --make hledger.hs -o hledger -O2 | ||||
| BUILDPROF=$(BUILD) -prof -auto-all | ||||
| PROFILE=./hledger -s balance +RTS -p | ||||
| TIME=`date +"%Y%m%d%H%M"` | ||||
| @ -7,9 +6,6 @@ TIME=`date +"%Y%m%d%H%M"` | ||||
| build: tag | ||||
| 	$(BUILD) | ||||
| 
 | ||||
| buildopt opt: clean | ||||
| 	$(BUILDOPT) | ||||
| 
 | ||||
| # build and run whenever a module changes, see http://searchpath.org
 | ||||
| continuous: | ||||
| 	sp -o hledger ghc --make hledger.hs --run | ||||
| @ -115,5 +111,5 @@ clean: | ||||
| 	rm -f {,Ledger/}*{.o,.hi,~} darcs-amend-record* | ||||
| 
 | ||||
| Clean: clean clean-docs | ||||
| 	rm -f hledger hledgeropt TAGS tags | ||||
| 	rm -f hledger TAGS tags | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user