mirror of
https://github.com/aaronsgiles/JPEGView.git
synced 2024-06-06 21:29:27 +00:00
1 line
6.8 KiB
Makefile
1 line
6.8 KiB
Makefile
|
# ==============================================================================
#
# Infinity Windoid 2.6
#
# Makefile for MPW
#
# ------------------------------------------------------------------------------
# This is a 'fat' makefile, as it were. It can be used to make three
# different versions of the Infinity Windoid WDEF that can be built in
# the following ways:
#
# 1. buildprogram "Infinity Windoid 2.6"
# - includes only 68K code, but is compatible with PowerPC Macs
# by running in emulation mode.
#
# 2. buildprogram "Infinity Windoid/PPC"
# - includes only PowerPC code, so it is incompatible with (and
# will in fact crash) 68K Macs.
#
# 3. buildprogram "Infinity Windoid/Fat"
# - includes both 68K and PowerPC code, in a fat binary that will
# run native on either type of Mac.
#
# Note: The /PPC and /FAT versions require the Apple PowerPC development
# environment to build.
# ------------------------------------------------------------------------------
# <09> 1991-94 Troy Gaul, Infinity Systems. All Rights Reserved.
# ------------------------------------------------------------------------------
# File: Makefile
# Target: Infinity Windoid 2.6
# Sources: InfinityWindoid.c
# WindoidUtil.c
# ==============================================================================
Output = Infinity Windoid 2.6
PPCOut = Infinity Windoid/PPC
FatOut = Infinity Windoid/Fat
OutRsrc = InfinityWDEF.rsrc # intermediate file for Fat build
# ==============================================================================
# Types and IDs
# ------------------------------------------------------------------------------
Type = rsrc
Creator = RSED
ResType = WDEF
ResID = 128
# ==============================================================================
# Directories
# ------------------------------------------------------------------------------
ObjDir = :obj:
{ObjDir} <09> : # directory dependency
# ==============================================================================
# PowerPC Options/Libs
# ------------------------------------------------------------------------------
PPCCOptions = -w conformance -appleext on
PPCPefLibs = -l InterfaceLib.xcoff=InterfaceLib <09>
-l StdCLib.xcoff=StdCLib <09>
-l MathLib.xcoff=MathLib
PPCLinkLibs = "{PPCLibraries}"InterfaceLib.xcoff <09>
"{PPCLibraries}"StdCLib.xcoff <09>
"{PPCLibraries}"StdCRuntime.o <09>
"{PPCLibraries}"PPCCRuntime.o
# ------------------------------------------------------------------------------
# If you're using the Universal Headers and you have them in some place
# other than the normal 'CIncludes' folder, you might need to change (or
# comment out) this line:
#PPCCIncludes= {CIncludes}
# ==============================================================================
# PowerPC Compilation
# ------------------------------------------------------------------------------
"{ObjDir}"InfinityWindoid.o <EFBFBD> Makefile <EFBFBD>
InfinityWindoid.c WindoidDefines.h <EFBFBD>
WindoidTypes.h WindoidUtil.h
PPCC {PPCCOptions} InfinityWindoid.c -o "{ObjDir}"InfinityWindoid.o
# ------------------------------------------------------------------------------
"{ObjDir}"WindoidUtil.o <EFBFBD> Makefile <EFBFBD>
WindoidUtil.c WindoidDefines.h <EFBFBD>
WindoidTypes.h WindoidUtil.h
PPCC {PPCCOptions} WindoidUtil.c -o "{ObjDir}"WindoidUtil.o
# ==============================================================================
# PowerPC Object Files
# ------------------------------------------------------------------------------
PPCObjects = "{ObjDir}"InfinityWindoid.o <09>
"{ObjDir}"WindoidUtil.o
# ==============================================================================
# 68K Options
# ------------------------------------------------------------------------------
COptions = # -r # warnings <09>
-b # PC-relative strings <09>
-mbg off # off, full <09>
-opt full # off, (empty)=normal, full, size, speed<65>
-o "{ObjDir}"
|