diff options
| author | iperry <iperry@749a229e-a60e-11de-b98f-4500b42dc123> | 2009-12-17 02:37:07 +0000 | 
|---|---|---|
| committer | iperry <iperry@749a229e-a60e-11de-b98f-4500b42dc123> | 2009-12-17 02:37:07 +0000 | 
| commit | 32e57dac2e61e79b029593eb4d34d727bcc10678 (patch) | |
| tree | 98d7ff41993576bb150d13d5f63dc744f6812852 /stm32conf/lanchon-stm32/src/libcs3-lanchon-stm32/makefile | |
| download | librambutan-32e57dac2e61e79b029593eb4d34d727bcc10678.tar.gz librambutan-32e57dac2e61e79b029593eb4d34d727bcc10678.zip | |
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
Diffstat (limited to 'stm32conf/lanchon-stm32/src/libcs3-lanchon-stm32/makefile')
| -rw-r--r-- | stm32conf/lanchon-stm32/src/libcs3-lanchon-stm32/makefile | 36 | 
1 files changed, 36 insertions, 0 deletions
| 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)
 | 
