FreeCalypso > hg > freecalypso-citrine
diff gpf/osl/Makefile @ 0:75a11d740a02
initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 09 Jun 2016 00:02:41 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gpf/osl/Makefile Thu Jun 09 00:02:41 2016 +0000 @@ -0,0 +1,20 @@ +CC= arm-elf-gcc +COPTS= -O2 -fno-builtin -mthumb-interwork -I../inc +IOPTS= -DRUN_INT_RAM +XOPTS= -DRUN_FLASH -mthumb + +IOBJS= os_com_ir.o os_mem_ir.o os_mis_ir.o os_pro_ir.o \ + os_sem_ir.o os_tim_ir.o +XOBJS= os_com_fl.o os_drv.o os_isr.o os_mem_fl.o os_mis_fl.o os_pro_fl.o \ + os_sem_fl.o os_tim_fl.o + +all: ${IOBJS} ${XOBJS} + +${IOBJS}: %.o : %.c + ${CC} ${COPTS} ${IOPTS} -c $< + +${XOBJS}: %.o : %.c + ${CC} ${COPTS} ${XOPTS} -c $< + +clean: + rm -f *.[oa] *errs