home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-07-06 | 1.6 KB | 88 lines |
- # Project name: Virtual
- #
- # AMU Makefile for Virtual module
- # By BDB & Nick Smith, 1993
-
- # Define DEBUG for debugging output: add -DDEBUG to CFLAGS
-
- DEPEND = -depend !Depend
- CFLAGS = $(DEPEND) -throwback -zps1 -DFIXED_2MB
- ASMFLAGS = $(DEPEND) -throwback -stamp -quit
- LINKFLAGS = -map
-
- all : Virtual
- it : Virtual
-
- .SUFFIXES: .o .c .s
-
- .c.o:; cc $(CFLAGS) -s -o t.$* $<
- sed -f sedregs < t.$* > u.$*
- objasm $(ASMFLAGS) -from u.$* -to $@
- .s.o:; objasm $(ASMFLAGS) -from $< -to $@
-
- LIBS =
- OBJS = virtual.o pager.o lib.o control.o output.o divide.o poll.o swiv.o
-
- Virtual: $(OBJS)
- link $(LINKFLAGS) -m $(OBJS) $(LIBS) -o $@
-
- clean:
- wipe o.* ~c~v
- wipe t.* ~c~v
- wipe u.* ~c~v
-
- # Dynamic dependencies:
- o.virtual: Hdr.Swis
- o.virtual: Hdr.Module
- t.pager: c.pager
- t.pager: c:h.swis
- t.pager: h.swiv
- t.pager: c:h.wimp
- t.pager: c:h.os
- t.pager: c:h.sprite
- t.pager: h.virtual
- t.pager: h.lib
- t.pager: h.output
- t.pager: h.pager
- t.lib: c.lib
- t.lib: c:h.swis
- t.lib: h.swiv
- t.lib: h.lib
- t.control: c.control
- t.control: c:h.swis
- t.control: h.swiv
- t.control: c:h.wimp
- t.control: c:h.os
- t.control: c:h.sprite
- t.control: h.virtual
- t.control: h.lib
- t.control: h.pager
- t.control: h.output
- t.control: h.asm
- t.control: h.poll
- t.control: h.xswis
- t.control: c:h.kernel
- t.output: c.output
- t.output: c:h.swis
- t.output: h.swiv
- t.output: c:h.wimp
- t.output: c:h.os
- t.output: c:h.sprite
- t.output: h.virtual
- t.output: h.lib
- t.output: h.output
- t.output: h.asm
- t.output: h.pager
- t.poll: c.poll
- t.poll: c:h.swis
- t.poll: h.swiv
- t.poll: c:h.wimp
- t.poll: c:h.os
- t.poll: c:h.sprite
- t.poll: h.virtual
- t.poll: h.lib
- t.poll: h.pager
- t.poll: h.output
- t.poll: h.asm
- t.poll: h.poll
-