SCCS-vsn: bin/csh/Makefile 4.6
#
# C Shell with process control; VM/UNIX VAX Makefile
# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
#
# C Shell with process control; VM/UNIX VAX Makefile
# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
.c.o:
${CC} -E ${CFLAGS} $*.c | ${XSTR} -c -
${CC} -c ${CFLAGS} x.c
.c.o:
${CC} -E ${CFLAGS} $*.c | ${XSTR} -c -
${CC} -c ${CFLAGS} x.c
rm -f x.c
csh: sh.o ${OBJS} sh.local.h
rm -f csh
rm -f x.c
csh: sh.o ${OBJS} sh.local.h
rm -f csh
- cc sh.o ${OBJS} -o csh ${LIBES}
+ ${CC} sh.o ${OBJS} -o csh ${LIBES}
# To make csh.prof: put -pg in CFLAGS, make clean, make csh.prof
csh.prof: sh.prof.o ${OBJS} sh.local.h
rm -f csh.prof
# To make csh.prof: put -pg in CFLAGS, make clean, make csh.prof
csh.prof: sh.prof.o ${OBJS} sh.local.h
rm -f csh.prof
- cc -pg sh.prof.o ${OBJS} ${LIBES} -o csh.prof
+ ${CC} -pg sh.prof.o ${OBJS} ${LIBES} -o csh.prof
sh.prof.o: sh.c
${CC} -E ${CFLAGS} -DPROF sh.c | ${XSTR} -c -
sh.prof.o: sh.c
${CC} -E ${CFLAGS} -DPROF sh.c | ${XSTR} -c -
- cc -c ${CFLAGS} -DPROF x.c
- mv x.o sh.prof.o
+ ${CC} -c ${CFLAGS} -DPROF x.c
+ mv -f x.o sh.prof.o
# need an old doprnt, whose output we can trap
doprnt.o: doprnt.c
# need an old doprnt, whose output we can trap
doprnt.o: doprnt.c
- cc -E doprnt.c > doprnt.s
- as -o doprnt.o doprnt.s
+ ${CC} -E doprnt.c > doprnt.s
+ ${AS} -o doprnt.o doprnt.s
rm -f doprnt.s
# strings.o and sh.init.o are specially processed to be shared
strings.o: strings
${XSTR}
${CC} -c -R xs.c
rm -f doprnt.s
# strings.o and sh.init.o are specially processed to be shared
strings.o: strings
${XSTR}
${CC} -c -R xs.c
rm -f xs.c
sh.init.o:
${CC} -E ${CFLAGS} sh.init.c | ${XSTR} -c -
${CC} ${CFLAGS} -c -R x.c
rm -f xs.c
sh.init.o:
${CC} -E ${CFLAGS} sh.init.c | ${XSTR} -c -
${CC} ${CFLAGS} -c -R x.c