##  Makefile for the MPD Makefile Maker, mpdm.



CFLAGS = -g
SHELL = /bin/sh



OBJ = chktbl.o fill.o filter.o makefile.o mpdm.o stats.o symtab.o trans.o \
	../util.o

SABER = $(OBJ:o=c) ../util.c



mpdm:$&	$(OBJ)
	. ../paths.sh; $(CC) $(CFLAGS) -o mpdm $(OBJ) $$LIBC



clean:
	rm -f *.o core


depend: 
	sh ../depend.sh


lint:   
	lint *.c ../util.c >lint.raw
	sed -f ../lint.sed <lint.raw >lint.out

tags:
	/usr/local/gnuemacs/etc/etags *.c
TAGS:
	ctags *.c



#  commands for debugging under Saber C
#  we use filter.o instead of filter.c because it contains a vfork()

saber:  $(SABER) filter.o
	#unload filter.o
	#load $(SABER)
	#unload filter.c
	#load filter.o


################################################################################
# The rest of this file is generated by `make depend'.  Don't change it by hand.
################################################################################
# >>DO NOT DELETE THIS LINE<< #
#   "make depend" was last run:  Tue Jan 2 14:50:55 MST 2001
chktbl.o: chktbl.c
chktbl.o: ../config.h
chktbl.o: ../gen.h
chktbl.o: ../util.h
chktbl.o: mpdm.h
fill.o: fill.c
fill.o: ../config.h
fill.o: mpdm.h
filter.o: filter.c
filter.o: ../gen.h
filter.o: ../util.h
makefile.o: makefile.c
makefile.o: ../config.h
makefile.o: ../gen.h
makefile.o: ../util.h
makefile.o: mpdm.h
mpdm.o: mpdm.c
mpdm.o: ../config.h
mpdm.o: ../gen.h
mpdm.o: ../paths.h
mpdm.o: ../util.h
mpdm.o: mpdm.h
stats.o: stats.c
stats.o: ../config.h
stats.o: mpdm.h
symtab.o: symtab.c
symtab.o: ../config.h
symtab.o: ../gen.h
symtab.o: ../util.h
symtab.o: mpdm.h
trans.o: trans.c
trans.o: ../config.h
trans.o: ../gen.h
trans.o: ../util.h
trans.o: mpdm.h
