# make file for debugger "dbx"
# The file "defs.h" is included by all.
DEST
= /usr
/local
/bin
/dbx
${AOUT}: makedefs mkdate
${HDR} ${OBJ}
@
${CC} ${LDFLAGS} date.c
${OBJ} ${LIBRARIES} -o
${AOUT}
@
${CC} ${LDFLAGS} -p date.c
${OBJ} ${LIBRARIES} -o
${AOUT}
@echo
"expect 2 shift/reduce conflicts"
makedefs
: makedefs.c library.o cerror.o
${CC} -g makedefs.c library.o cerror.o
-o makedefs
${CC} -g mkdate.c
-o mkdate
@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} \
mkdate mkdate.o makedefs makedefs.o date.c core mon.out prof.out
testinstall
: ${AOUT} test install
# Create a tar file called "tape" containing relevant files.
Makefile
${SRC} makedefs.c mkdate.c tests
/ pchanges ptests
# 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