1#! make -f
2#----------------------------------------------------------------------------
3# Project:  RevolutionDWC Demos
4# File:     ./common/Makefile
5#
6# Copyright 2005-2008 Nintendo. All rights reserved.
7#
8# These coded instructions, statements, and computer programs contain
9# proprietary information of Nintendo of America Inc. and/or Nintendo
10# Company Ltd., and are protected by Federal copyright law. They may
11# not be disclosed to third parties or copied or duplicated in any form,
12# in whole or in part, without the prior written consent of Nintendo.
13#
14#----------------------------------------------------------------------------
15
16SUBDIRS		=
17
18#----------------------------------------------------------------------------
19
20SRCS		=	src/main.c src/d_net_connect.c
21TARGET_LIB  =	demos_common.a
22
23RVLDWC_ROOT := $(subst \,/,$(RVLDWC_ROOT))
24
25#
26# For NintendoWC
27#
28LINCLUDES += $(RVLDWC_ROOT)/include/
29LINCLUDES += $(RVLDWC_ROOT)/build/secret/include/
30LINCLUDES += $(RVLDWC_ROOT)/build/libraries/include/
31
32#
33# For GameSpy <<Tentative>>
34#
35# This is provisional because it is not decided what to do with the GameSpy SDK as to packaging.
36#
37LINCLUDES += $(RVLDWC_ROOT)/build/add-ins/gamespy
38LINCLUDES += $(addprefix $(RVLDWC_ROOT)/build/add-ins/gamespy/,common ghttp gp gstats gt2 natneg qr2 serverbrowsing)
39
40
41
42include	$(RVLDWC_ROOT)/build/buildtools/commondefs
43
44#----------------------------------------------------------------------------
45
46do-build:		$(TARGETS)
47
48
49include	$(RVLDWC_ROOT)/build/buildtools/modulerules
50
51
52#===== End of Makefile =====
53