From 32e57dac2e61e79b029593eb4d34d727bcc10678 Mon Sep 17 00:00:00 2001 From: iperry Date: Thu, 17 Dec 2009 02:37:07 +0000 Subject: Initial commit of library code, moved from leaftest repo git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@69 749a229e-a60e-11de-b98f-4500b42dc123 --- .../src/libcs3-lanchon-stm32/makefile | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 stm32conf/lanchon-stm32/src/libcs3-lanchon-stm32/makefile (limited to 'stm32conf/lanchon-stm32/src/libcs3-lanchon-stm32/makefile') diff --git a/stm32conf/lanchon-stm32/src/libcs3-lanchon-stm32/makefile b/stm32conf/lanchon-stm32/src/libcs3-lanchon-stm32/makefile new file mode 100644 index 0000000..1c5eac1 --- /dev/null +++ b/stm32conf/lanchon-stm32/src/libcs3-lanchon-stm32/makefile @@ -0,0 +1,36 @@ +# setup environment + +TARGET_ARCH = -mcpu=cortex-m3 -mthumb + +CC = arm-none-eabi-gcc +CFLAGS = + +AS = $(CC) -x assembler-with-cpp -c $(TARGET_ARCH) +ASFLAGS = + +AR = arm-none-eabi-ar +ARFLAGS = cr + + +LIB_OUT = libcs3-lanchon-stm32.a + +LIB_OBJS = lanchon-stm32-vector.o lanchon_stm32_isr_interrupt.o + + +# all + +.PHONY: all +all: $(LIB_OUT) + + +# lib + +$(LIB_OUT): $(LIB_OBJS) + $(AR) $(ARFLAGS) $@ $(LIB_OBJS) + + +# clean + +.PHONY: clean +clean: + -rm -f $(LIB_OBJS) $(LIB_OUT) -- cgit v1.2.3