#
# Makefile:
# Build jriderserver
#
# Copyright (c) 2003 Chris Lightfoot. All rights reserved.
# Email: chris@ex-parrot.com; WWW: http://www.ex-parrot.com/~chris/
#
# $Id: Makefile,v 1.2 2003/10/19 03:10:52 chris Exp $
#

SRCS = game.c main.c packets.c peer.c server.c util.c
HDRS = game.h peer.h protocol.h server.h util.h
OBJS = $(SRCS:.c=.o)

CFLAGS = -Wall -g
LDFLAGS = -g
LDLIBS = #-lefence

jriderserver: $(OBJS)
	$(CC) -o jriderserver $(OBJS) $(LDFLAGS) $(LDLIBS)

%.o: %.c Makefile
	$(CC) $(CFLAGS) -c -o $@ $<

clean: 
	rm -f *.o *~ core core.* jriderserver
