FreeCalypso > hg > freecalypso-sw
annotate target-utils/libbase/Makefile @ 1025:4c80a6e6723f
gsm-fw: added provisional support for FCDEV3B target ahead of the hardware
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Tue, 03 May 2016 23:46:54 +0000 |
parents | 5cff3579814c |
children |
rev | line source |
---|---|
991
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= arm-elf-gcc |
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 CFLAGS= -Os -fno-builtin |
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 CPPFLAGS=-I../include |
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 AR= arm-elf-ar |
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 RANLIB= arm-elf-ranlib |
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 |
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 OBJS= abbdrv.o osmodelay.o serio.o spidrv.o |
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 |
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 all: libbase.a |
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 |
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 libbase.a: ${OBJS} |
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 ${AR} cru $@ ${OBJS} |
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 ${RANLIB} $@ |
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 |
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 clean: |
5cff3579814c
target-utils: libbase factored out of libcommon
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 rm -f *.[oa] *errs |