FreeCalypso > hg > freecalypso-sw
diff gsm-fw/L1/dsp/Makefile @ 899:ab20a5e9dbf3
gsm-fw/L1/dsp code made into a library in preparation for adding patch codes
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 05 Jul 2015 02:50:49 +0000 |
parents | 25a3095e8a98 |
children | bacf366e8ce3 |
line wrap: on
line diff
--- a/gsm-fw/L1/dsp/Makefile Sun Jul 05 02:41:39 2015 +0000 +++ b/gsm-fw/L1/dsp/Makefile Sun Jul 05 02:50:49 2015 +0000 @@ -1,13 +1,16 @@ CC= arm-elf-gcc +AR= arm-elf-ar +RANLIB= arm-elf-ranlib + CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb -LD= arm-elf-ld OBJS= leadapi.o leadboot.o -all: xipcode.o +all: libdsp.a -xipcode.o: ${OBJS} - ${LD} -r -o $@ ${OBJS} +libdsp.a: ${OBJS} + ${AR} cru $@ ${OBJS} + ${RANLIB} $@ clean: rm -f *.[oa] *.out *errs