# @(#)Makefile 4.1 (Berkeley) %G%
# make file for debugger "dbx"
# The file "defs.h" is included by all.
# My version of cerror automatically catches certain errors
# such as out of memory, I/O error. If you re-make this with
# the standard cerror, the program could fault unexpectedly.
${AOUT}: makedefs
${HDR} ${OBJ}
@
${CC} ${LDFLAGS} ${OBJ} ${LIBRARIES} -o
${AOUT}
@
${CC} ${LDFLAGS} -p
${OBJ} ${LIBRARIES} -o
${AOUT}
makedefs
: makedefs.c library.o cerror.o
${CC} makedefs.c library.o cerror.o
-o makedefs
@echo
"don't print it, it's too long"
# Don't worry about the removal of header files, they're created from
rm -f
${HDR} ${OBJ} y.tab.c y.tab.h
${AOUT} core
install -s
${AOUT} ${DESTDIR}/${DEST}
# Header dependencies are purposely incomplete since header files
# are "written" every time the accompanying source file changes even if
# the resulting contents of the header don't change. The alternative is
# to force a "makedefs" to be invoked for every header file each time dbx
# Also, there should be a dependency of scanner.o and keywords.o on y.tab.h
# but misfortunately silly make does a "makedefs y.tab.c y.tab.h" which
symbols.o tree.o
check.o eval.o events.o
: operators.h