(svn r4991) -Fix: don't compile UNITTEST by default, it isn't needed
authortruelight
Sat, 27 May 2006 18:17:10 +0000
changeset 3903 224d77e00330
parent 3902 f867fe8ec825
child 3904 4b0372645db4
(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!!
Makefile
os/macosx/Makefile
--- a/Makefile	Sat May 27 17:53:31 2006 +0000
+++ b/Makefile	Sat May 27 18:17:10 2006 +0000
@@ -834,7 +834,7 @@
 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
 -include os/macosx/Makefile
--- a/os/macosx/Makefile	Sat May 27 17:53:31 2006 +0000
+++ b/os/macosx/Makefile	Sat May 27 18:17:10 2006 +0000
@@ -42,6 +42,9 @@
 ifndef LIPO
 LIPO := lipo
 endif
+ifndef STRIP
+STRIP := strip
+endif
 
 # targets to link OpenTTD
 $(TTD): $(OTTD_PPC) $(OTTD_i386) $(OTTD_PPC970)
@@ -101,7 +104,7 @@
 
 # manual strip, as the -s option fails
 $(OSX_STRIP): $(TTD)
-	$(Q)strip openttd
+	$(Q)$(STRIP) openttd
 
 ifdef JAGUAR
 JAGUAR_POSTFIX := -jaguar