TARGET_MODE := APP
TARGET_NAME := STM32Sample
INSTALL	    := NO
ROOT := ../../../../../utility/programing_helper/makedef/st/stm32f10x/
CFLAGS += 
LNK += stdph cm sys
#TOOLCHAIN := SOURCERY
LDSCRIPT := ldscript.x 
OUTPUT_BINARY := 1
OUTPUT_S19 := 1
DEF += THUMB

SRC := \
	main.c
SRC_S := \
	startup.s

INSTALL_DIR := ../../../../../external/st/stm32f10x/
INC=../../../../../external/st/stm32f10x/Libraries/STM32F10x_StdPeriph_Driver/inc ../../../../../external/st/stm32f10x/Libraries/CMSIS/CM3/CoreSupport	\
	 ../../../../../external/st/stm32f10x/Libraries/CMSIS/CM3/DeviceSupport/ST/STM32F10x ../../../../../external/st/stm32f10x/Libraries/STM32_USB-FS_Driver/inc	\
	../ ../../../../../external/st/stm32f10x/include

include $(ROOT)Makefile.def 

build: $(TARGET_APP)



include $(ROOT)Makefile.post

