head     1.3;
access   ;
symbols  ;
locks    ; strict;
comment  @# @;


1.3
date     86.03.14.11.05.57;  author root;  state Exp;
branches ;
next     1.2;

1.2
date     86.03.13.13.59.15;  author root;  state Exp;
branches ;
next     1.1;

1.1
date     84.08.05.17.02.08;  author root;  state Exp;
branches ;
next     ;


desc
@checkin for V 1.2
@


1.3
log
@revised dependencies, made clean cleaner
@
text
@CFLAGS	      = -DHERE=VAX -DTARGET=VAX -DFAMILY=PCC -DUCBVAXASM -DUCBPASS2 \
		-O -I../../include
# add -DBRL for BRL system V emulation version

DEST	      = $(DESTDIR)/usr/bin

EXTHDRS	      = ../../include/defines.h \
		../../include/machdefs.h \
		../../include/version.h \
		/usr/include/ctype.h \
		/usr/include/errno.h \
		/usr/include/signal.h \
		/usr/include/stdio.h \
		/usr/include/sys/stat.h \
		/usr/include/sys/types.h

HDRS	      = drivedefs.h

LDFLAGS	      = -n

LIBS	      =

LINKER	      = cc

MAKEFILE      = Makefile

OBJS	      = f77.o

PRINT	      = pr

PROGRAM	      = f77

SRCS	      = f77.c

all:		$(PROGRAM)

$(PROGRAM):     $(OBJS) $(LIBS)
		@@echo -n "Loading $(PROGRAM) ... "
		@@$(LINKER) $(LDFLAGS) $(OBJS) $(LIBS) -o $(PROGRAM)
		@@echo "done"

clean:
		rm -f $(OBJS) $(PROGRAM) core a.out rslts

depend:;	@@mkmf -f $(MAKEFILE) PROGRAM=$(PROGRAM) DEST=$(DEST)

index:;		@@ctags -wx $(HDRS) $(SRCS)

install:	$(PROGRAM)
		@@echo Installing $(PROGRAM) in $(DEST)
		@@install -s $(PROGRAM) $(DEST)

print:;		@@$(PRINT) $(HDRS) $(SRCS)

program:        $(PROGRAM)

tags:           $(HDRS) $(SRCS); @@ctags $(HDRS) $(SRCS)

update:		$(DEST)/$(PROGRAM)

$(DEST)/$(PROGRAM): $(SRCS) $(LIBS) $(HDRS) $(EXTHDRS)
		@@make -f $(MAKEFILE) DEST=$(DEST) install
###
f77.o: /usr/include/stdio.h /usr/include/ctype.h ../../include/defines.h \
	../../include/machdefs.h drivedefs.h ../../include/version.h \
	/usr/include/signal.h /usr/include/errno.h /usr/include/sys/types.h \
	/usr/include/sys/stat.h
@


1.2
log
@misc changes leading up to release 3.04
@
text
@d42 2
a43 1
clean:;		@@rm -f $(OBJS)
@


1.1
log
@Initial revision
@
text
@d3 1
@
