#   File:       Makefile
#   Target:     'FindFIle'

App      = FindFile
		   
# make findfile desk accessory

{App}		:Obj:FindFileDA.Code :Obj:FindFile.Rez.Out
	Duplicate -y :obj:FindFileDA.Code FindFile
	Duplicate -r -y :obj:FindFile.Rez.Out FindFile
#	duplicateIIgs -mac -y FindFile :
	if {AutoDuplicate} == 1
		DuplicateIIGS -y -mac FindFile :
	End

:Obj:FindFileDA.Code		makefile 
							:obj:DAInterface.asm.obj 
							:obj:ProcessLevel.asm.obj
							:obj:FindFileDA.p.obj
	LinkIIGS -t NDA 
		:obj:DAInterface.asm.obj 
		:obj:ProcessLevel.asm.obj
		:obj:FindFileDA.p.obj 
		-a period=20 
		-a mask=$0FF7 
		-lib "{PIIGSlibraries}"PLib 
		-o :obj:FindFileDA.Code

:obj:DAInterface.asm.obj  DAInterface.asm
	ASMIIgs  DAInterface.asm -o :obj:DAInterface.asm.obj

:obj:ProcessLevel.asm.obj  ProcessLevel.asm
	ASMIIgs  ProcessLevel.asm -o :obj:ProcessLevel.asm.obj

:obj:FindFileDA.p.obj  FindFileDA.p 
	#Always use the -r option when creating a desk accessory
	PascalIIGS  -r FindFileDA.p -o :obj:FindFileDA.p.obj
	
:obj:FindFile.Rez.Out  FindFile.Rez
	RezIIgs FindFile.Rez -o :obj:FindFile.Rez.Out