CFLAGS= -O -Ddebug -DTELL -DVFORK
# strings.o must be last in OBJS since it can change when previous files compile
OBJS=sh.o sh.dol.o sh.err.o sh.exec.o sh.exp.o sh.func.o sh.glob.o sh.hist.o \
sh.lex.o sh.misc.o sh.parse.o sh.print.o sh.sem.o sh.set.o \
sh.wait.o alloc.o sh.init.o printf.o getpwent.o getpwnam.o \
# Special massaging of C files for sharing of strings
${CC} -E ${CFLAGS} $*.c | ${XSTR} -c -
# strings.o and sh.init.o are specially processed to be shared
${CC} -E ${CFLAGS} sh.init.c | ${XSTR} -c -
@(size -l a.out; size *.o) | pr -h SIZES
@${CXREF} sh*.c | pr -h XREF
@pr sh*.h [a-rt-z]*.h sh*.c alloc.c
install -s csh ${DESTDIR}/bin/csh
${RM} -f a.out strings x.c xs.c