eventmud/doc/
eventmud/help/
CC      = gcc
C_FLAGS = -Wall -pedantic -O -DCYGWIN32 -DNOMCCP -DNOCRYPT
L_FLAGS = -lz -lpthread -lcrypt -levent

O_FILES = socket.o io.o strings.o update.o utils.o interpret.o help.o \
	  action_safe.o mccp.o save.o

all: $(O_FILES)
	rm -f EventMud
	$(CC) -o EventMud $(O_FILES) $(L_FLAGS)

.c.o: all
	$(CC) -c $(C_FLAGS) $<

clean:
	rm -f *.o
	rm -f EventMud
	rm -f *.*~