# === makefile ============================================================
# Copyright (c) 1997 Chris Provenzano, proven@athena.mit.edu
#
#	Description: This file is for creating the pthread game engine
#
#	1.00 97/03/14 proven
#		-Initial cut for pthreads.
#

INSTALL_PATH = /usr/local/
      BINDIR = $(INSTALL_PATH)/bin
      LIBDIR = $(INSTALL_PATH)/lib
      MANDIR = $(INSTALL_PATH)/man
      INCDIR = $(INSTALL_PATH)/include

          CC = ../../pgcc
 CDEBUGFLAGS =
    INCLUDES = 
      CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(ADDL_CFLAGS) -DSRCDIR=

        OBJS = accept.o
      BINARY = engine

################################################################################
#
all : $(BINARY)

clean: 
	rm -f *.o $(TESTS) $(BENCHMARKS) a.out core maketmp makeout

depend:
	sed '/\#\#\# Dependencies/q' < Makefile > maketmp
	(for i in $(CSRC);do $(CPP) -M $$i;done) >> maketmp
	cp maketmp Makefile

install: $(BINARY)
	install $(BINARY) $(BINDIR)

realclean: clean
	rm -f Makefile

Makefile: Makefile.in
	(cd ../.. ; sh config.status)

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

$(BINARY) : ${OBJS} 
	$(CC) $(CFLAGS) -o $(BINARY) ${OBJS} -lpthreadutil

################################################################################
### Do not remove the following line. It is for depend #########################
### Dependencies:
