head     33.1;
branch   ;
access   ;
symbols  ;
locks    ; strict;
comment  @# @;


33.1
date     91.11.15.14.01.02;  author Unknown;  state Exp;
branches ;
next     ;


desc
@make file
@



33.1
log
@initial RCS login
@
text
@# lmk file for wdisplay
# Copyright (C) 1989, 1990, 1991 Commodore-Amiga, Inc.
# written by David N. Junod

NAME	= wdisplay

CFILES	= 24to12.o \
	  about.o \
	  appwindow.o \
	  auxbitmap.o \
	  bitmap.o \
	  boundbox.o \
	  environment.o \
	  funcs.o \
	  getbody.o \
	  idcmp.o \
	  ilbm.o \
	  loadpicture.o \
	  main.o \
	  misc.o \
	  readargs.o \
	  scale.o \
	  snapshot.o \
	  sprites.o \
	  window.o \

AFILES	= remap.o \
	  scaleline.o

OFILES	= $(CFILES) $(AFILES)

MFILES	= lmkfile \
	  texttable.h \
	  $(NAME).cd \
	  $(NAME)_rev.h

LLIBS	= LIB:lc.lib LIB:amiga.lib LIB:compat.lib lib:debug.lib

CFLAGS	= -O -b0 -cfistq -ms -v -d4
LDFLAGS	= DEFINE __main=__tinymain SMALLCODE SMALLDATA
STARTUP	= LIB:c.o

.c.o:
	LC $(CFLAGS) $*

.asm.o:
	CASM -a $*.asm -i INCLUDE: -o $*.o

ALL:	$(NAME)

$(NAME):	$(NAME).ld
	BLINK from $(NAME).ld to $(NAME) NODEBUG
	BUMPREV 37 $(NAME)_rev
	COPY $(NAME) RAM:
	SETCLOCK LOAD

$(NAME).ld: $(OFILES) $(MFILES) $(LLIBS)
	BLINK <with <
FROM $(STARTUP) $(OFILES) $(LDFLAGS) LIB $(LLIBS) TO $(NAME).ld
<

# This is just to handle the case of a non-existant _rev file
$(NAME)_rev.h:
	BUMPREV 37 $(NAME)_rev

texttable.h:	$(NAME).cd
	CATCOMP $(NAME).cd CFILE texttable.h
	LC $(CFLAGS) main.c
@
