#! make -f
#----------------------------------------------------------------------------
# Project:  Revolution DWC Demos
# File:     ./common/Makefile
#
# Copyright 2005-2007 Nintendo.  All rights reserved.
#
# These coded instructions, statements, and computer programs contain
# proprietary information of Nintendo of America Inc. and/or Nintendo
# Company Ltd., and are protected by Federal copyright law.  They may
# not be disclosed to third parties or copied or duplicated in any form,
# in whole or in part, without the prior written consent of Nintendo.
#
#----------------------------------------------------------------------------

include ../../../../devroot/include/make/SDKdefs

.PHONY:    headers

SUBDIRS		=

#----------------------------------------------------------------------------

SRCS		=	src/main.c src/d_net_connect.c
TARGET_LIB  =	demos_common.a

RVLDWC_ROOT := $(subst \,/,$(RVLDWC_ROOT))

#
# For NintendoWC
#
LINCLUDES += $(RVLDWC_ROOT)/include/
LINCLUDES += $(RVLDWC_ROOT)/build/secret/include/
LINCLUDES += $(RVLDWC_ROOT)/build/libraries/include/

#
# For GameSpy <<Provisional>>
#
# This code will be used for the time being as we have not decided what to do with the GameSpy SDK at the time of packaging.
#
LINCLUDES += $(RVLDWC_ROOT)/build/add-ins/gamespy
LINCLUDES += $(addprefix $(RVLDWC_ROOT)/build/add-ins/gamespy/,common ghttp gp gstats gt2 natneg qr2 serverbrowsing)



include	$(RVLDWC_ROOT)/build/buildtools/commondefs

#----------------------------------------------------------------------------

do-build:		$(TARGETS)


include	$(RVLDWC_ROOT)/build/buildtools/modulerules


#===== End of Makefile =====
