# Project:   xFiles


# Toolflags:
CCflags = -c -depend !Depend -IC: -throwback -zM -fah 
C++flags = -c -depend !Depend -IC: -throwback
Linkflags = -rmf -o $@ 
ObjAsmflags = -throwback -NoCache -depend !Depend
CMHGflags = 
LibFileflags = -c -o $@
Squeezeflags = -o $@
LinkModuleflags = $@


# Final targets:
@.x-files:   @.o.chunks @.o.module @.o.errors c:o.stubs @.o.rminfo @.o.veneer \
        @.o.rm @.o.debug @.o.fs @.o.compact @.o.cache @.o.filter @.o.list @.o.fshook 
        link $(linkflags) @.o.chunks @.o.module @.o.errors c:o.stubs \
        @.o.rminfo @.o.veneer @.o.rm @.o.debug @.o.fs @.o.compact @.o.cache @.o.filter @.o.list \
        @.o.fshook 


# User-editable dependencies:

# Static dependencies:
@.o.chunks:   @.c.chunks
        cc $(ccflags) -o @.o.chunks @.c.chunks 
@.o.module:   @.c.module
        cc $(ccflags) -o @.o.module @.c.module 
@.o.errors:   @.s.errors
        objasm $(objasmflags) -from @.s.errors -to @.o.errors
@.o.rminfo:   @.s.rminfo
        objasm $(objasmflags) -from @.s.rminfo -to @.o.rminfo
@.o.veneer:   @.s.veneer
        objasm $(objasmflags) -from @.s.veneer -to @.o.veneer
@.o.rm:   @.cmhg.rm
        cmhg @.cmhg.rm -o @.o.rm
@.o.debug:   @.c.debug
        cc $(ccflags) -o @.o.debug @.c.debug 
@.o.fs:   @.c.fs
        cc $(ccflags) -o @.o.fs @.c.fs 
@.o.compact:   @.c.compact
        cc $(ccflags) -o @.o.compact @.c.compact 
@.o.cache:   @.c.cache
        cc $(ccflags) -o @.o.cache @.c.cache 
@.o.filter:   @.c.filter
        cc $(ccflags) -o @.o.filter @.c.filter 
@.o.list:   @.c.list
        cc $(ccflags) -o @.o.list @.c.list 
@.o.fshook:   @.c.fshook
        cc $(ccflags) -o @.o.fshook @.c.fshook 


# Dynamic dependencies:
o.rminfo: s.rminfo
o.debug:	c.debug
o.debug:	h.debug
o.debug:	C:h.kernel
o.errors: s.errors
o.filter:	c.filter
o.filter:	C:h.kernel
o.filter:	C:h.swis
o.filter:	h.debug
o.filter:	h.filter
o.filter:	C:h.kernel
o.fshook:	c.fshook
o.fshook:	C:h.kernel
o.fshook:	C:h.swis
o.fshook:	h.debug
o.fshook:	h.fshook
o.fshook:	C:h.kernel
o.list:	c.list
o.list:	h.chunks
o.list:	C:h.kernel
o.module:	c.module
o.module:	h.module
o.module:	C:h.kernel
o.module:	C:h.kernel
o.module:	C:h.swis
o.module:	h.chunks
o.module:	C:h.kernel
o.module:	h.fshook
o.module:	C:h.kernel
o.fs:	c.fs
o.fs:	h.chunks
o.fs:	C:h.kernel
o.fs:	h.debug
o.fs:	C:h.swis
o.compact:	c.compact
o.compact:	h.chunks
o.compact:	C:h.kernel
o.compact:	h.debug
o.compact:	C:h.swis
o.veneer: s.veneer
o.cache:	c.cache
o.cache:	h.chunks
o.cache:	C:h.kernel
o.cache:	h.debug
o.cache:	h.module
o.cache:	C:h.kernel
o.cache:	C:h.swis
o.chunks:	c.chunks
o.chunks:	h.chunks
o.chunks:	C:h.kernel
o.chunks:	h.debug
o.chunks:	C:h.swis
