#!/usr/bin/env omake #---------------------------------------------------------------------------- # Project: Horizon # File: targetdefs.CTR.om # # Copyright 2007-2009 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. # # $Date:: 2010-04-07#$ # $Rev: 13736 $ # $Author: hatamoto_minoru $ #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- # プラットフォーム用共通関数の定義 #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- # プラットフォームのハードウェアを定義 #---------------------------------------------------------------------------- section spec = $(TargetSpec.new $'WIN-IA32') spec.platform = WIN spec.hardware = WIN-IA32 spec.processors = i386 spec.getSystemFlags(systemname) = flags = return $(flags) spec.getMinimumLibraries(systemname, processor) = return $(EMPTY) spec.getDefaultLibraries(systemname, processor) = #return /usr/lib/mingw/crt1.o -lgcc -lmingw32 -lcrtdll -lkernel32 -luser32 return $(EMPTY) TARGET_MANAGER.register($(spec)) export #----------------------------------------------------------------------------