# Generated automatically from Makefile.in by configure.
# CircleMUD Makefile.in - Makefile template used by 'configure'
# for the 'util' directory

# C compiler to use
CC = gcc

# Any special flags you want to pass to the compiler
MYFLAGS = -Wall -Wno-char-subscripts -Wno-unused-but-set-variable -DCIRCLE_UTIL

#flags for profiling (see hacker.doc for more information)
PROFILE = 

##############################################################################
# Do Not Modify Anything Below This Line (unless you know what you're doing) #
##############################################################################

# binary destination directory
BINDIR = ../../bin
# location of Circle include files
INCDIR = ..

CFLAGS = -g -O2 $(MYFLAGS) $(PROFILE) -I$(INCDIR)

default: all

all: $(BINDIR)/asciipasswd $(BINDIR)/autowiz $(BINDIR)/plrtoascii $(BINDIR)/rebuildIndex $(BINDIR)/rebuildMailIndex $(BINDIR)/shopconv $(BINDIR)/sign $(BINDIR)/split $(BINDIR)/wld2html 

asciipasswd: $(BINDIR)/asciipasswd

autowiz: $(BINDIR)/autowiz

plrtoascii: $(BINDIR)/plrtoascii

rebuildIndex: $(BINDIR)/rebuildIndex

rebuildMailIndex: $(BINDIR)/rebuildMailIndex

shopconv: $(BINDIR)/shopconv

sign: $(BINDIR)/sign

split: $(BINDIR)/split

wld2html: $(BINDIR)/wld2html

$(BINDIR)/asciipasswd: asciipasswd.c
	$(CC) $(CFLAGS) -o $(BINDIR)/asciipasswd asciipasswd.c 

$(BINDIR)/autowiz: autowiz.c
	$(CC) $(CFLAGS) -o $(BINDIR)/autowiz autowiz.c

$(BINDIR)/plrtoascii: plrtoascii.c
	$(CC) $(CFLAGS) -o $(BINDIR)/plrtoascii plrtoascii.c

$(BINDIR)/rebuildIndex: rebuildAsciiIndex.c
	$(CC) $(CFLAGS) -o $(BINDIR)/rebuildIndex rebuildAsciiIndex.c

$(BINDIR)/rebuildMailIndex: rebuildMailIndex.c
	$(CC) $(CFLAGS) -o $(BINDIR)/rebuildMailIndex rebuildMailIndex.c

$(BINDIR)/shopconv: shopconv.c
	$(CC) $(CFLAGS) -o $(BINDIR)/shopconv shopconv.c

$(BINDIR)/sign: sign.c
	$(CC) $(CFLAGS) -o $(BINDIR)/sign sign.c 

$(BINDIR)/split: split.c
	$(CC) $(CFLAGS) -o $(BINDIR)/split split.c

$(BINDIR)/wld2html: wld2html.c
	$(CC) $(CFLAGS) -o $(BINDIR)/wld2html wld2html.c

# Dependencies for the object files (automagically generated with
# gcc -MM)

depend:
	$(CC) -I$(INCDIR) -MM *.c > depend

-include depend
