home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
minnie.tuhs.org
/
unixen.tar
/
unixen
/
PDP-11
/
Distributions
/
ucb
/
spencer_2bsd.tar.gz
/
2bsd.tar
/
src
/
pxp
/
makefile
< prev
next >
Wrap
Makefile
|
1980-02-17
|
1KB
|
51 lines
ED= -ed
AS= -as
VERSION= version
EYACC= /usr/ucb/eyacc
CFLAGS= -O -DPXP
OBJS= call.o case.o const.o cset.o \
error.o fdec.o func.o hash.o lab.o lval.o \
main.o nl.o pmon.o pp.o proc.o rec.o rval.o \
stat.o string.o subr.o tree.o type.o var.o y.tab.o \
yycomm.o yycosts.o yyerror.o yyget.o yyid.o yylex.o yymain.o \
yypanic.o yyparse.o yyprint.o yyput.o yyrecover.o \
yyseman.o yytree.o
OBJS2= printf.o treen.o wait.o yycopy.o
all: a.out a.outNOID
a.out: ${OBJS} ${OBJS2}
-echo "${VERSION} > Version.c"
${CC} -c Version.c
${CC} -i -f ${OBJS} ${OBJS2} Version.o \
../pascal/fpterp/fp.o ../pascal/opcodes/TRdata.o
a.outNOID:
-echo "${VERSION} > Version.c"
${CC} -c Version.c
${CC} -n -f ${OBJS} Version.o ../pascal/fpdata/*.o \
../pascal/opcodes/TRdata.o -o a.outNOID
y.tab.c: pas.y
${EYACC} pas.y
${ED} - y.tab.c < gram
clean:
-rm -f pi1:2strings a.outNOID core
-echo dont rm y.tab.c
-rm -f *.o x*
install:
cp a.out /usr/ucb/pxp
cp a.outNOID /usr/ucb/pxp34
print:
@pr makefile READ_ME
@ls -ls | pr
@size a.out *.o | pr
@cxref *.c | pr
@pr 0.h main.c pas.y
@pr yy.h yy*.c
@pr [a-ln-x]*.c
@pr putn.s treen.s yycopy.s