#!/usr/bin/env omake #---------------------------------------------------------------------------- # Project: Horizon # File: OMakefile # # Copyright (C)2009 Nintendo Co., Ltd. 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. # # $Rev: 216 $ #---------------------------------------------------------------------------- if $(defined TARGET_PROGRAM) if $(defined PROD_BUILD) CCFLAGS += -DUSE_PROD_KEY TARGET_NAME = $(TARGET_PROGRAM) TARGET_PROGRAM = $(TARGET_PROGRAM)_prod_$(VERSION_MAJOR)-$(VERSION_MINOR)-$(VERSION_MICRO) export elseif $(defined UNFIXEDKEY_BUILD) TARGET_NAME = $(TARGET_PROGRAM) TARGET_PROGRAM = $(TARGET_PROGRAM)_dev_$(VERSION_MAJOR)-$(VERSION_MINOR)-$(VERSION_MICRO) export else TARGET_NAME = $(TARGET_PROGRAM) export export