#This makefile is for MenuCat.  
#It is simple, i know, hardly worth all the fuss of a makefile
#But someone has to set an example for the kids.
#
# Macro definitions
#
COMPILE = cc
#		for quick substitution if you prefer Alink
LINK = BLINK
# 		disk with lattice, libraries and objs is labelled CC.
##somebody copied significicant parts thereof into RAM:
LDSK = ram
#
LIBS = $(LDSK):lib/lc.lib+$(LDSK):lib/amiga.lib
OBJS = $(LDSK):lib/Lstartup.obj
#
WhereIs : WhereIs.o
	$(LINK) $(OBJS)+WhereIs.o LIB $(LIBS) TO WhereIs MAP Nil:
#
WhereIs.o : WhereIs.c
	$(COMPILE) -c WhereIs.c
#
#
Where : Where.o
	$(LINK) $(OBJS)+Where.o LIB $(LIBS) TO Where MAP Nil:
#
Where.o : Where.c
	$(COMPILE) -c Where.c
#
archive :
	Delete WhereIs.arc
	arc a WhereIs.arc AAAREADME WhereIs Where WhereIs.doc
	arc a WhereIs.arc Makefile WhereIs.c Where.c
