Changeset 78 for Mulberry/trunk

Show
Ignore:
Timestamp:
07/08/07 21:30:06 (2 years ago)
Author:
daboo
Message:

Detect processor type and only build that debug configuration.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Mulberry/trunk/Makefile-MacOS

    r77 r78  
    1414                        NetscapeAdbkIO OEAdbkIO PGP PineAdbkIO QuickmailAdbkIO \ 
    1515                        QuickmailProAdbkIO SMIME SSL vCardAdbkIO 
     16 
     17APP_TARGET := $(shell \ 
     18   if { uname -p | egrep 'powerpc' > /dev/null; } \ 
     19   then { echo "Debug"; } \ 
     20   else { echo "Debug x86"; } fi) 
    1621 
    1722libraries: 
     
    6368 
    6469buildapp: 
    65         echo "-->Building Mulberry" 
    66         xcodebuild -project Mulberry/MacOS/MulberryXcode.xcodeproj -alltargets 
     70        echo "-->Building Mulberry ${APP_TARGET}" 
     71        xcodebuild -project Mulberry/MacOS/MulberryXcode.xcodeproj -configuration "${APP_TARGET}" 
    6772         
    6873build: buildplugins buildapp