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

LIB_DIR = ${CLUHOME}/lib
LIBS    = misc lowlev useful
LIB_CLU = ~CLU/lib/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} -ce gcd.equ  \
		-spec _host_address _all_dir_entries_               \
		-dir $(LIB_CLU) -spec gcd_tab, gc_read              \
		-bindir `pwd` -ccdbg 0                              \
		-co \*
	/bin/cp ../../../system.names.save ../../../system.names
