|
|
1.1 root 1: # Makefile 1.2 83/07/02
2: #
3:
4: DESTDIR=
5: AS=/bin/as
6: CC=/bin/cc
7: LD=/bin/ld
8: INCLDIR=${DESTDIR}/usr/include
9: LIBDIR=${DESTDIR}/lib
10: ULIBDIR=${DESTDIR}/usr/lib
11:
12: CFLAGS=-O -Dunix=1 -DFLEXNAMES
13:
14: cpp : cpp.o cpy.o rodata.o
15: $(CC) $(CFLAGS) -o cpp rodata.o cpp.o cpy.o
16:
17: cpy.c : cpy.y
18: yacc cpy.y
19: ./:yyfix yyexca yyact yypact yypgo yyr1 yyr2 yychk yydef
20: mv y.tab.c cpy.c
21: cpy.o : cpy.c yylex.c
22: rodata.o : cpy.c
23: $(CC) $(CFLAGS) -R -c rodata.c
24:
25: clean :
26: rm -f *.s *.o cpy.c rodata.c
27:
28: cleansrc:
29:
30: rm -f *.c *.y README Makefile :yyfix
31:
32: install : cpp
33: install -s cpp $(DESTDIR)/lib
34:
35: sources : cpp.c cpy.y yylex.c README
36: cpp.c cpy.y yylex.c README :
37: sccs get $@
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.