#	Makefile automatically created from project file
#	Don't forget to update if you change your header dependencies

#	Change this to set what compiler options you need
PREFIX = /boot/develop/headers/be/BeHeaders
CC = mwcc 
COPTS = -c -O5 -prefix $(PREFIX)

#	This is the file to generate
TARGET = Application

#	This is the objects folder
OBJFOLDER = obj

#	main target
all:	$(OBJFOLDER) $(TARGET)
OBJ = \
	$(OBJFOLDER)/BTSSocket.o \
	$(OBJFOLDER)/BTSNetMsgUtils.o \
	$(OBJFOLDER)/BTSNetMsgServer.o \
	$(OBJFOLDER)/BTSAddress.o \
	$(OBJFOLDER)/BTSServerMonitor.o \
	$(OBJFOLDER)/BTSNetDrawServer.o 

#	Include paths used
INC = -I../netclasses 

$(TARGET):	$(OBJ)
	$(CC) -o $(TARGET) $(OBJ)

$(OBJFOLDER)/BTSSocket.o:	/NewPartition/develop/projects/netclasses/BTSSocket.cpp 
	$(CC) $(COPTS) -o $(OBJFOLDER)/BTSSocket.o $(INC) /NewPartition/develop/projects/netclasses/BTSSocket.cpp
$(OBJFOLDER)/BTSNetMsgUtils.o:	/NewPartition/develop/projects/netclasses/BTSNetMsgUtils.cpp 
	$(CC) $(COPTS) -o $(OBJFOLDER)/BTSNetMsgUtils.o $(INC) /NewPartition/develop/projects/netclasses/BTSNetMsgUtils.cpp
$(OBJFOLDER)/BTSNetMsgServer.o:	/NewPartition/develop/projects/netclasses/BTSNetMsgServer.cpp 
	$(CC) $(COPTS) -o $(OBJFOLDER)/BTSNetMsgServer.o $(INC) /NewPartition/develop/projects/netclasses/BTSNetMsgServer.cpp
$(OBJFOLDER)/BTSAddress.o:	/NewPartition/develop/projects/netclasses/BTSAddress.cpp 
	$(CC) $(COPTS) -o $(OBJFOLDER)/BTSAddress.o $(INC) /NewPartition/develop/projects/netclasses/BTSAddress.cpp
$(OBJFOLDER)/BTSServerMonitor.o:	/NewPartition/develop/projects/netclasses/BTSServerMonitor.cpp 
	$(CC) $(COPTS) -o $(OBJFOLDER)/BTSServerMonitor.o $(INC) /NewPartition/develop/projects/netclasses/BTSServerMonitor.cpp
$(OBJFOLDER)/BTSNetDrawServer.o:	BTSNetDrawServer.cpp \
	BTSNetDrawServer.h 
	$(CC) $(COPTS) -o $(OBJFOLDER)/BTSNetDrawServer.o $(INC) BTSNetDrawServer.cpp

#	Prefix rule
$(PREFIX):	$(PREFIX).pch++
	$mwcc -precompile $(PREFIX) $(PREFIX).pch++

#	Create the folder
$(OBJFOLDER):
	mkdir $(OBJFOLDER)

clean:
	-rm -rf $(OBJFOLDER) $(TARGET)
