
#
# Intel's UPnP Micro Control Point/1.0, Sample MakeFile */
# Intel DeviceBuilder Build#1.0.1725.27554
#

# List all object files here
OFILES = \
	Main.o \
	UPnPControlPoint.o\
	ILibWebClient.o\
	ILibWebServer.o\
	ILibAsyncSocket.o\
	ILibAsyncServerSocket.o\
	ILibSSDPClient.o\
	ILibParsers.o\

# Compiler command name
CC = arm_920t_le-gcc

# Compiler flags applied to all files
CFLAGS = -Os -Wall -D_POSIX -D_DEBUG -D_VERBOSE -D_MT_CONNECTION_MANAGER -D_MT_RENDERINGCONTROL -D_MT_AVTRANSPORT
 
LIBS = -lpthread -lm
# Name of the executable
EXENAME = Main

# Builds all object files and executable
${EXENAME} : $(OFILES)
	$(CC) $(CFLAGS) -o ${EXENAME} $(OFILES) $(LIBS)

# Macro rule for all object files.
$(OFILES) : \
	UPnPControlPointStructs.h UPnPControlPoint.h ILibParsers.h ILibWebClient.h ILibSSDPClient.h ILibWebServer.h

# Clean up
clean :
	rm -f $(OFILES) ${EXENAME} ${EXENAME}.exe
