Link = link
CC = cc
CFLAGS = -apcs 3/32/fpe2/swst/fp/nofpr -depend !Depend -throwback
Libs = C:o.stubsg RISC_OSLib:o.risc_oslib-32

LinkFlags = -aif -rescan

ObjectFiles	=		\
		o.tar      	\
		o.dir      	\
		o.options  	\
		o.args     	\
		o.tapeio   	\
		o.replace  	\
		o.extract  	\
		o.table    	\
		o.disc     	\
		o.perms    	\
		o.timecon  	\


Target		=	tar

Include	=	-IRISC_OSLib:,C:
#Include		=	-nostdinc -IGCC: -IC: -IC:flexlib.

CCFlags	=	$(CFLAGS) $(Include) -DWITH_PWD=1 -D__riscos

VPATH = ^.^.Source.tar


.SUFFIXES:	.o .c

all: $(Target)

$(Target):	$(ObjectFiles) $(Libraries) #$(Application)
	$(Link) $(LinkFlags) -o $@ $(ObjectFiles) $(Libs)
	Squeeze $@

#$(Application):
#	Copy $(AppTemplate) $(Application) ~CFN~QR~V

.c.o:
	$(CC) $(CCFlags) -c -o $@ $<


# Dynamic dependencies:o.tar:	^.^.Source.tar.c.tar
o.tar:	^.^.Source.tar.h.tar
o.tar:	RISC_OSLib:h.os
o.tar:	C:h.kernel
o.tar:	C:h.swis
o.tar:	^.^.Source.tar.h.args
o.tar:	^.^.Source.tar.h.options
o.tar:	^.^.Source.tar.h.perms
o.tar:	^.^.Source.tar.h.unixperms
o.tar:	^.^.Source.tar.h.fsperms
o.tar:	^.^.Source.tar.h.fsftypes
o.tar:	^.^.Source.tar.h.dir
o.tar:	^.^.Source.tar.h.rmt
o.tar:	^.^.Source.tar.h.tapeio
o.tar:	^.^.Source.tar.h.replace
o.tar:	^.^.Source.tar.h.table
o.tar:	^.^.Source.tar.h.extract
o.dir:	^.^.Source.tar.c.dir
o.dir:	^.^.Source.tar.h.tar
o.dir:	RISC_OSLib:h.os
o.dir:	C:h.kernel
o.dir:	C:h.swis
o.dir:	^.^.Source.tar.h.dir
o.options:	^.^.Source.tar.c.options
o.options:	^.^.Source.tar.h.tar
o.options:	RISC_OSLib:h.os
o.options:	C:h.kernel
o.options:	C:h.swis
o.options:	^.^.Source.tar.h.options
o.args:	^.^.Source.tar.c.args
o.args:	^.^.Source.tar.h.tar
o.args:	RISC_OSLib:h.os
o.args:	C:h.kernel
o.args:	C:h.swis
o.args:	^.^.Source.tar.h.options
o.args:	^.^.Source.tar.h.dir
o.args:	^.^.Source.tar.h.args
o.tapeio:	^.^.Source.tar.c.tapeio
o.tapeio:	^.^.Source.tar.h.tar
o.tapeio:	RISC_OSLib:h.os
o.tapeio:	C:h.kernel
o.tapeio:	C:h.swis
o.tapeio:	^.^.Source.tar.h.dir
o.tapeio:	^.^.Source.tar.h.disc
o.tapeio:	^.^.Source.tar.h.timecon
o.tapeio:	^.^.Source.tar.h.perms
o.tapeio:	^.^.Source.tar.h.unixperms
o.tapeio:	^.^.Source.tar.h.fsperms
o.tapeio:	^.^.Source.tar.h.fsftypes
o.tapeio:	^.^.Source.tar.h.rmt
o.tapeio:	^.^.Source.tar.h.tapeio
o.replace:	^.^.Source.tar.c.replace
o.replace:	^.^.Source.tar.h.tar
o.replace:	RISC_OSLib:h.os
o.replace:	C:h.kernel
o.replace:	C:h.swis
o.replace:	^.^.Source.tar.h.args
o.replace:	^.^.Source.tar.h.timecon
o.replace:	^.^.Source.tar.h.perms
o.replace:	^.^.Source.tar.h.unixperms
o.replace:	^.^.Source.tar.h.fsperms
o.replace:	^.^.Source.tar.h.fsftypes
o.replace:	^.^.Source.tar.h.dir
o.replace:	^.^.Source.tar.h.disc
o.replace:	^.^.Source.tar.h.tapeio
o.replace:	^.^.Source.tar.h.replace
o.extract:	^.^.Source.tar.c.extract
o.extract:	^.^.Source.tar.h.tar
o.extract:	RISC_OSLib:h.os
o.extract:	C:h.kernel
o.extract:	C:h.swis
o.extract:	^.^.Source.tar.h.args
o.extract:	^.^.Source.tar.h.dir
o.extract:	^.^.Source.tar.h.tapeio
o.extract:	^.^.Source.tar.h.table
o.extract:	^.^.Source.tar.h.extract
o.table:	^.^.Source.tar.c.table
o.table:	^.^.Source.tar.h.tar
o.table:	RISC_OSLib:h.os
o.table:	C:h.kernel
o.table:	C:h.swis
o.table:	^.^.Source.tar.h.perms
o.table:	^.^.Source.tar.h.unixperms
o.table:	^.^.Source.tar.h.fsperms
o.table:	^.^.Source.tar.h.fsftypes
o.table:	^.^.Source.tar.h.args
o.table:	^.^.Source.tar.h.tapeio
o.table:	^.^.Source.tar.h.table
o.disc:	^.^.Source.tar.c.disc
o.disc:	^.^.Source.tar.h.tar
o.disc:	RISC_OSLib:h.os
o.disc:	C:h.kernel
o.disc:	C:h.swis
o.disc:	^.^.Source.tar.h.disc
o.perms:	^.^.Source.tar.c.perms
o.perms:	^.^.Source.tar.h.perms
o.perms:	^.^.Source.tar.h.unixperms
o.perms:	^.^.Source.tar.h.fsperms
o.perms:	^.^.Source.tar.h.fsftypes
o.timecon:	^.^.Source.tar.c.timecon
o.timecon:	^.^.Source.tar.h.timecon
o.timecon:	^.^.Source.tar.h.tar
o.timecon:	RISC_OSLib:h.os
o.timecon:	C:h.kernel
o.timecon:	C:h.swis

# Dynamic dependencies:
o.table:	^.^.Source.tar.c.table
o.table:	^.^.Source.tar.h.tar
o.table:	RISC_OSLib:h.os
o.table:	C:h.kernel
o.table:	C:h.swis
o.table:	^.^.Source.tar.h.perms
o.table:	^.^.Source.tar.h.unixperms
o.table:	^.^.Source.tar.h.fsperms
o.table:	^.^.Source.tar.h.fsftypes
o.table:	^.^.Source.tar.h.args
o.table:	^.^.Source.tar.h.tapeio
o.table:	^.^.Source.tar.h.table
o.tar:	^.^.Source.tar.c.tar
o.tar:	^.^.Source.tar.h.tar
o.tar:	RISC_OSLib:h.os
o.tar:	C:h.kernel
o.tar:	C:h.swis
o.tar:	^.^.Source.tar.h.args
o.tar:	^.^.Source.tar.h.options
o.tar:	^.^.Source.tar.h.perms
o.tar:	^.^.Source.tar.h.unixperms
o.tar:	^.^.Source.tar.h.fsperms
o.tar:	^.^.Source.tar.h.fsftypes
o.tar:	^.^.Source.tar.h.dir
o.tar:	^.^.Source.tar.h.rmt
o.tar:	^.^.Source.tar.h.tapeio
o.tar:	^.^.Source.tar.h.replace
o.tar:	^.^.Source.tar.h.table
o.tar:	^.^.Source.tar.h.extract
o.dir:	^.^.Source.tar.c.dir
o.dir:	^.^.Source.tar.h.tar
o.dir:	RISC_OSLib:h.os
o.dir:	C:h.kernel
o.dir:	C:h.swis
o.dir:	^.^.Source.tar.h.dir
o.options:	^.^.Source.tar.c.options
o.options:	^.^.Source.tar.h.tar
o.options:	RISC_OSLib:h.os
o.options:	C:h.kernel
o.options:	C:h.swis
o.options:	^.^.Source.tar.h.options
o.args:	^.^.Source.tar.c.args
o.args:	^.^.Source.tar.h.tar
o.args:	RISC_OSLib:h.os
o.args:	C:h.kernel
o.args:	C:h.swis
o.args:	^.^.Source.tar.h.options
o.args:	^.^.Source.tar.h.dir
o.args:	^.^.Source.tar.h.args
o.tapeio:	^.^.Source.tar.c.tapeio
o.tapeio:	^.^.Source.tar.h.tar
o.tapeio:	RISC_OSLib:h.os
o.tapeio:	C:h.kernel
o.tapeio:	C:h.swis
o.tapeio:	^.^.Source.tar.h.dir
o.tapeio:	^.^.Source.tar.h.disc
o.tapeio:	^.^.Source.tar.h.timecon
o.tapeio:	^.^.Source.tar.h.perms
o.tapeio:	^.^.Source.tar.h.unixperms
o.tapeio:	^.^.Source.tar.h.fsperms
o.tapeio:	^.^.Source.tar.h.fsftypes
o.tapeio:	^.^.Source.tar.h.rmt
o.tapeio:	^.^.Source.tar.h.tapeio
o.replace:	^.^.Source.tar.c.replace
o.replace:	^.^.Source.tar.h.tar
o.replace:	RISC_OSLib:h.os
o.replace:	C:h.kernel
o.replace:	C:h.swis
o.replace:	^.^.Source.tar.h.args
o.replace:	^.^.Source.tar.h.timecon
o.replace:	^.^.Source.tar.h.perms
o.replace:	^.^.Source.tar.h.unixperms
o.replace:	^.^.Source.tar.h.fsperms
o.replace:	^.^.Source.tar.h.fsftypes
o.replace:	^.^.Source.tar.h.dir
o.replace:	^.^.Source.tar.h.disc
o.replace:	^.^.Source.tar.h.tapeio
o.replace:	^.^.Source.tar.h.replace
o.extract:	^.^.Source.tar.c.extract
o.extract:	^.^.Source.tar.h.tar
o.extract:	RISC_OSLib:h.os
o.extract:	C:h.kernel
o.extract:	C:h.swis
o.extract:	^.^.Source.tar.h.args
o.extract:	^.^.Source.tar.h.dir
o.extract:	^.^.Source.tar.h.tapeio
o.extract:	^.^.Source.tar.h.table
o.extract:	^.^.Source.tar.h.extract
o.disc:	^.^.Source.tar.c.disc
o.disc:	^.^.Source.tar.h.tar
o.disc:	RISC_OSLib:h.os
o.disc:	C:h.kernel
o.disc:	C:h.swis
o.disc:	^.^.Source.tar.h.disc
o.perms:	^.^.Source.tar.c.perms
o.perms:	^.^.Source.tar.h.perms
o.perms:	^.^.Source.tar.h.unixperms
o.perms:	^.^.Source.tar.h.fsperms
o.perms:	^.^.Source.tar.h.fsftypes
o.timecon:	^.^.Source.tar.c.timecon
o.timecon:	^.^.Source.tar.h.timecon
o.timecon:	^.^.Source.tar.h.tar
o.timecon:	RISC_OSLib:h.os
o.timecon:	C:h.kernel
o.timecon:	C:h.swis
