# Makefile for ~CLU/code/sys/Debugger
# Assumes that ${CLUHOME}/lib/*.lib have been made

LIB_DIR = ${CLUHOME}/lib
LIBS    = misc lowlev useful
SYS_CLU = ~CLU/sys/clu
CLU     = ${CLUHOME}/exe/pclu

# sparc stattions seem to need the following definition
.c.o:
	cc -c ${CFLAGS} $<

all: c_files ${OBJS}

c_files:
	/bin/rm -f ../../../system.names
	$(CLU)  -ext false -dir ${LIB_DIR} -me ${LIBS}       \
		-spec _gprof.spc -dir ${SYS_CLU}              \
		-bindir `pwd` -ccdbg 0                        \
		-co \*
	/bin/cp ../../../system.names.save ../../../system.names
