mirror of
https://github.com/ksherlock/mpw.git
synced 2024-06-15 02:29:28 +00:00
3.2 vs 3.5, updated tools makefile
This commit is contained in:
parent
23ff00baa7
commit
ce5ad32be1
4
TODO.txt
4
TODO.txt
|
@ -15,7 +15,9 @@ expression '(' expression ')' -> 16-bit offset.
|
||||||
|
|
||||||
stack dump? any safe way to get the previous address (how many bytes for jsr?)
|
stack dump? any safe way to get the previous address (how many bytes for jsr?)
|
||||||
|
|
||||||
|
option for MPW 3.2 vs 3.5?
|
||||||
|
store as MPWVersion (standard shell variable)
|
||||||
|
CLibraries=$MPW:Libraries:CLibraries-$MPWVersion:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,9 @@
|
||||||
Libraries=~/mpw/Libraries/Libraries
|
Libraries=~/mpw/Libraries/Libraries
|
||||||
CLibraries=~/mpw/Libraries/CLibraries
|
CLibraries=~/mpw/Libraries/CLibraries
|
||||||
|
|
||||||
LIBS = $(Libraries)/Stubs.o \
|
# MPW 3.2
|
||||||
|
LIBS = \
|
||||||
|
$(Libraries)/Stubs.o \
|
||||||
$(CLibraries)/StdCLib.o \
|
$(CLibraries)/StdCLib.o \
|
||||||
$(Libraries)/Interface.o \
|
$(Libraries)/Interface.o \
|
||||||
$(Libraries)/Runtime.o \
|
$(Libraries)/Runtime.o \
|
||||||
|
@ -12,8 +14,24 @@ LIBS = $(Libraries)/Stubs.o \
|
||||||
LDFLAGS = -w -c 'MPS ' -t MPST \
|
LDFLAGS = -w -c 'MPS ' -t MPST \
|
||||||
-sn STDIO=Main -sn INTENV=Main -sn %A5Init=Main
|
-sn STDIO=Main -sn INTENV=Main -sn %A5Init=Main
|
||||||
|
|
||||||
|
# MPW 3.5
|
||||||
|
|
||||||
|
# LIBS = \
|
||||||
|
# $(CLibraries)/StdCLib.o \
|
||||||
|
# $(Libraries)/Stubs.o \
|
||||||
|
# $(Libraries)/IntEnv.o \
|
||||||
|
# $(Libraries)/MacRuntime.o \
|
||||||
|
# $(Libraries)/Interface.o \
|
||||||
|
# $(Libraries)/ToolLibs.o
|
||||||
|
|
||||||
|
# LDFLAGS = -d -c 'MPS ' -t MPST
|
||||||
|
|
||||||
all: Help GetEnv Duplicate SetFile
|
all: Help GetEnv Duplicate SetFile
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *.c.o
|
||||||
|
rm -f Help GetEnv Duplicate SetFile
|
||||||
|
|
||||||
GetEnv: GetEnv.c.o
|
GetEnv: GetEnv.c.o
|
||||||
mpw Link $(LDFLAGS) -o $@ $^ $(LIBS)
|
mpw Link $(LDFLAGS) -o $@ $^ $(LIBS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user