# Makefile for src/md5/
# $Id: Makefile.in,v 1.11 2003/11/01 23:26:57 wcc Exp $

SHELL = @SHELL@
top_srcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@

@SET_MAKE@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@

CC = @CC@
LD = @CC@
STRIP = @STRIP@
CFLAGS = @CFLAGS@ -I. -I../.. -I$(top_srcdir) -I$(top_srcdir)/src @DEFS@ $(CFLGS)
CPPFLAGS = @CPPFLAGS@

OBJS = md5c.o

doofus:
	@echo ""
	@echo "Let's try this from the right directory..."
	@echo ""
	@cd ../.. && $(MAKE)

depend:
	$(CC) $(CFLAGS) $(CPPFLAGS) -MM $(srcdir)/*.c > .depend

clean:
	@rm -f .depend *.o *~

md5: $(OBJS)

.SUFFIXES:
.SUFFIXES: .c .o .h

.c.o:
	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<

#safety hash
md5c.o: ./md5c.c ../../src/main.h ../../config.h ../../src/lang.h \
 ../../src/eggdrop.h ../../src/flags.h ../../src/proto.h ../../lush.h \
 ../../src/misc_file.h ../../src/cmdt.h ../../src/tclegg.h \
 ../../src/tclhash.h ../../src/chan.h ../../src/users.h \
 ../../src/compat/compat.h ../../src/compat/inet_aton.h \
 ../../src/compat/snprintf.h \
 ../../src/compat/memset.h ../../src/compat/memcpy.h \
 ../../src/compat/strcasecmp.h ../../src/compat/strftime.h md5.h
