head     1.4;
branch   ;
access   ;
symbols  ;
locks    ;
comment  @# @;


1.4
date     92.08.27.15.37.51;  author ian;  state Exp;
branches ;
next     1.3;

1.3
date     92.08.27.14.27.27;  author ian;  state Exp;
branches ;
next     1.2;

1.2
date     92.08.18.14.52.50;  author ian;  state Exp;
branches ;
next     1.1;

1.1
date     92.08.14.18.09.00;  author ian;  state Exp;
branches ;
next     ;


desc
@Makefile for xcoff program.
@


1.4
log
@Add "shar" rule.
@
text
@CC =		gcc # must be ansi CC
CFLAGS +=	-g
LDFLAGS +=	-g
OBJS =		coffee.o xview.o util.o
XVINCLUDE =	-I/usr/openwin/include
XLIBS = 	-L/usr/openwin/lib -lxview -lolgx -lX11

coffee:		$(OBJS)
		rm -f coffee
		# don't use gcc until it groks dynamic linking
		cc $(LDFLAGS) $(OBJS) $(XLIBS) -o coffee

coffee.o util.c xview.o:	coffee.h
xview.o:	empty.icon full.icon half.icon yuch.icon unkn.icon

xview.o:	xview.c
		$(CC) $(CFLAGS) -c $(XVINCLUDE) xview.c

shar:
		bundle Makefile *.1 *.h *.c > $@@
clean:
		rm -f core coffee *.o
@


1.3
log
@Change some names.
@
text
@d19 2
@


1.2
log
@Numerous incremental changes.
@
text
@d4 1
a4 1
OBJS =		xcoff.o xview.o util.o
d8 2
a9 2
xcoff:		$(OBJS)
		rm -f xcoff
d11 1
a11 1
		cc $(LDFLAGS) $(OBJS) $(XLIBS) -o xcoff
d13 2
a14 2
xcoff.o util.c xview.o:	xcoff.h
xview.o:	empty.icon full.icon half.icon ughh.icon unkn.icon
d20 1
a20 1
		rm -f core xcoff *.o
@


1.1
log
@Initial revision
@
text
@d2 5
a6 1
OBJS =		xcoff.o xview.o
d9 3
a11 1
		$(CC) $(OBJS) -o xcoff
d13 8
a20 1
xcoff.o xview.o:	xcoff.h
@
