summaryrefslogtreecommitdiff
path: root/dmake/startup/mac/macros.mk
blob: ca161a8baa5c3404483efe82d4110f14a0f9fc8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Define MPW MAC specific macros.
# Assumes CodeWarrior for Mac 5.0 C, change as needed.
#

A            *:= .lib
S	         *:= .s
V            *:= v
TMPDIR       *:= $(TempFolder)

# import library definitions
.IMPORT .IGNORE : CLibraries Libraries

# Set arguments for the SHELL.  Since we can't execute sub-processes,
# these variables are not important, except for some makefiles that check
# for some values to determine the platform.
SHELL       *:= "{MPW}MPW Shell"
SHELLFLAGS  *:=
GROUPFLAGS  *:=
SHELLMETAS  *:=

# Define toolkit macros
CC          *:= MWCPPC
AS          *:= PPCAsm
LD          *:= MWLinkPPC
AR          *:=
ARFLAGS     *:=
RM          *:= delete
RMFLAGS     *:= 
MV          *:= rename
YTAB        *:=
LEXYY       *:=

LDLIBS      *=  "{SharedLibraries}StdCLib" "{SharedLibraries}InterfaceLib" \
                "{PPCLibraries}StdCRuntime.o" "{PPCLibraries}PPCCRuntime.o" \
                "{Libraries}MathLib.o" "{PPCLibraries}PPCToolLibs.o"

# Disable the print command
PRINT       *=

# Make certain to disable defining how to make executables.
__.EXECS !:=