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


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

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


desc
@ 
@


1.2
log
@cleaned up dependencies and made clean cleaner
@
text
@#
# $Header: Makefile,v 1.1 86/03/11 07:43:09 root Exp $
#
# $Log:	Makefile,v $
# Revision 1.1  86/03/11  07:43:09  root
# Initial revision
# 
#
#	Makefile	1.2	83/07/02
#

CFLAGS=-O -Dunix=1 -DFLEXNAMES

cpp :	cpp.o cpy.o rodata.o
	$(CC) $(CFLAGS) -o cpp rodata.o cpp.o cpy.o  

cpy.c : cpy.y ../pcc/yyfix 
	yacc cpy.y
	../pcc/yyfix yyexca yyact yypact yypgo yyr1 yyr2 yychk yydef
	mv y.tab.c cpy.c
cpy.o :	cpy.c yylex.c
rodata.o : cpy.c
	$(CC) $(CFLAGS) -R -c rodata.c

clean :
	rm -f *.s *.o cpy.c rodata.c cpp a.out core rslts

install :
	install -s cpp $(DESTDIR)/lib
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# $Header$
d4 4
a7 1
# $Log$
d17 1
a17 1
cpy.c : cpy.y
d19 1
a19 1
	../pcc/:yyfix yyexca yyact yypact yypgo yyr1 yyr2 yychk yydef
d26 1
a26 1
	rm -f *.s *.o cpy.c rodata.c
a29 4

sources : cpp.c cpy.y yylex.c README
cpp.c cpy.y yylex.c README :
	sccs get $@@
@
