#! make -f #---------------------------------------------------------------------------- # Project: CtrBrom - libraries - os # File: Makefile # # Copyright 2008-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:: $ # $Rev$ # $Author$ #---------------------------------------------------------------------------- SUBDIRS = SUBMAKES = #---------------------------------------------------------------------------- # build ARM & THUMB libraries BROM_CODEGEN_ALL ?= TRUE SRCDIR = . ../common SRCS = \ os_init.c \ os_system.c \ os_spinLock.c \ os_timer.c \ os_tick.c \ os_alarm.c \ os_irqHandler.c \ os_irqThreadSwitch.c \ os_interrupt.c \ os_exception.c \ os_thread.c \ os_context.c \ os_mutex.c \ os_message.c \ os_cache.c \ os_printf.c \ os_boot.c \ os_mmu.c \ TARGET_LIB = libos$(BROM_LIBSUFFIX).a include $(CTRBROM_ROOT)/build/buildtools/commondefs INSTALL_TARGETS = $(TARGETS) INSTALL_DIR = $(BROM_INSTALL_LIBDIR) #---------------------------------------------------------------------------- do-build: $(TARGETS) include $(CTRBROM_ROOT)/build/buildtools/modulerules #===== End of Makefile =====