(svn r4991) -Fix: don't compile UNITTEST by default, it isn't needed
-Fix: do not use hardcoded names for things like 'strip', keep it configurable!!
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @@ -834,7 +834,7 @@ OSX:=OSX | |||||||
| endif | endif | ||||||
|  |  | ||||||
|  |  | ||||||
| all: endian_target.h endian_host.h $(UPDATECONFIG) $(LANGS) $(TTD) $(OSX) $(UNITTEST) | all: endian_target.h endian_host.h $(UPDATECONFIG) $(LANGS) $(TTD) $(OSX) | ||||||
|  |  | ||||||
| ifdef OSX | ifdef OSX | ||||||
| -include os/macosx/Makefile | -include os/macosx/Makefile | ||||||
|   | |||||||
| @@ -42,6 +42,9 @@ endif | |||||||
| ifndef LIPO | ifndef LIPO | ||||||
| LIPO := lipo | LIPO := lipo | ||||||
| endif | endif | ||||||
|  | ifndef STRIP | ||||||
|  | STRIP := strip | ||||||
|  | endif | ||||||
|  |  | ||||||
| # targets to link OpenTTD | # targets to link OpenTTD | ||||||
| $(TTD): $(OTTD_PPC) $(OTTD_i386) $(OTTD_PPC970) | $(TTD): $(OTTD_PPC) $(OTTD_i386) $(OTTD_PPC970) | ||||||
| @@ -101,7 +104,7 @@ endif | |||||||
|  |  | ||||||
| # manual strip, as the -s option fails | # manual strip, as the -s option fails | ||||||
| $(OSX_STRIP): $(TTD) | $(OSX_STRIP): $(TTD) | ||||||
| 	$(Q)strip openttd | 	$(Q)$(STRIP) openttd | ||||||
|  |  | ||||||
| ifdef JAGUAR | ifdef JAGUAR | ||||||
| JAGUAR_POSTFIX := -jaguar | JAGUAR_POSTFIX := -jaguar | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 truelight
					truelight