###############################################################################
# IP Makefile
#
# Copyright 2002-2004  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.
#
# $Log: makefile,v $
# Revision 1.1  2005/12/20 20:42:32  horti
# Added some networking files.
#
#   
#   3     04/10/19 13:59 Ueno_kyu
#   Cleanup.
#   
#   2     04/10/19 10:09 Ueno_kyu
#   Cleanup.
#   
#   1     04/10/13 10:24 Ueno_kyu
#   Initial Checkin.
#   
# $NoKeywords: $
#
###############################################################################

# All modules have "setup" and "build" as targets.  System libraries
# and demo programs also have an "install" target that copies the compiled
# binaries to the binary tree (/dolphin/$(ARCH_TARGET)).
all: 	setup build install

ifndef NDEBUG
# CATS_ON     = TRUE
endif

# commondefs must be included near the top so that all common variables
# will be defined before their use.
include $(BUILDTOOLS_ROOT)/commondefs

# MODULENAME should be set to the name of this subdirectory
MODULENAME	= ipmdm

# This indicates to commondefs/modulerules as to where this directory is
# The selectable paths are restricted to limit the number of subtrees
# that are added to the Dolphin tree.
LIB		= TRUE

# CCFLAGS += -DVERBOSE

###############################################################################
# Library building
# LIBNAME specifies the name of the library.  No suffix is required, as
# that will depend on whether this is a DEBUG build or not.
# The final name of the library will be $(LIBNAME)$(LIBSUFFIX)
LIBNAME		= ipmdm

# CLIBSRCS specifies all C files that are built and linked into the library.
# ASMLIBSRCS are all assembly files that will be built and linked into the lib.
CLIBSRCS        = IPModem.c

# modulerules contains the rules that will use the above variables
# and dependencies below to construct the library and binaries specified.
include $(BUILDTOOLS_ROOT)/modulerules
