# Generated automatically from Makefile.in by configure.
srcdir=.

# Makefile ripped from BitchX/dll :)

#SHLIB_CFLAGS =		-fPIC
#SHLIB_LD =		gcc -shared
SHLIB_SUFFIX =		.so
#CC = gcc
#BXINCLUDES = ../../include   # Change this to whatever :)

default:
	(cd ..;$(MAKE))

CFLAGS = -O2 ${SHLIB_CFLAGS}

#SO_FILES = blowfish${SHLIB_SUFFIX}

all: blowfish${SHLIB_SUFFIX}

blowfish.o: $(srcdir)/blowfish.c
	$(CC) $(CFLAGS) -I/home/source/BitchX/include -I./../../include $(INCLUDES) -c $(srcdir)/blowfish.c

blowfish${SHLIB_SUFFIX}: blowfish.o $(srcdir)/blowfish.c
	${SHLIB_LD} blowfish.o ${SHLIB_CFLAGS} -o blowfish${SHLIB_SUFFIX}

clean:
	rm -f *~ *.o blowfish${SHLIB_SUFFIX} *.a *.dll

distclean: clean
	rm -f Makefile
