!if "$(WINCEDEBUG)" == "debug"
SKIPBUILD=1
!endif

TARGETNAME=BL1_UART
TARGETTYPE=PROGRAM
RELEASETYPE=PLATFORM
EXEENTRY=StartUp
NOMIPS16CODE=1

LDEFINES=-subsystem:native /DEBUG /DEBUGTYPE:CV /FIXED:NO

TARGETLIBS =\
	$(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_kitl.lib             \
	$(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_log.lib              \
	$(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_blnk.lib             \
	$(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_blcommon.lib         \
	$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\bootpart.lib         \
	$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\ne2kdbg.lib          \
	$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\ddk_io.lib           \
	$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\gsnull.lib           \
	$(_PLATCOMMONLIB)\$(_CPUINDPATH)\S5PV210_system_lib_sec_v1.lib	\
	$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\fulllibc.lib		  \
    $(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\I2CEMUL_Engine.lib \
    $(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\I2CEMUL_G0.lib

SOURCES=\
		Library.c	\
		main.c 		\
		Interrupt.c	\
		USB.c

ARM_SOURCES=\
    	startup.s	\
    	InitCache.s \
    	InterruptServiceRoutine.s
    	
    
WINCETARGETFILES=BL1_UART