### MPW Make file for getmac.
# RI is the include directory for RLE files
# RL is the library directory (for librle.a)

RI = ::include:
RL = ::lib:

LIBES = "{RL}librle.o"
IFLAGS = -I "{RI}" -I "kloo:MPW:CIncludes:"
COptions = -g {IFLAGS} -d macintosh_os {IFLAGS}

getmac	getmac.o
	Link -w -c 'MPS ' -t MPST getmac.c.o "{RL}librle.o" -o getmac 
		"{CLibraries}"CRuntime.o 
		"{CLibraries}"StdCLib.o 
		"{CLibraries}"CSANELib.o 
		"{CLibraries}"CInterface.o 
		"{Libraries}"ToolLibs.o

# Default rule for making a program from its .c file.
# The mv will not be done if there is an error, so a broken program
# will not be left around.
#.c.o		.c
#	C {COptions} {Default}.c
getmac.o	getmac.c
	C {COptions} getmac.c

#		-sn STDIO=Main 
#		-sn INTENV=Main 
#		-sn %A5Init=Main 
