FreeCalypso > hg > freecalypso-sw
annotate target-utils/libbase/Makefile @ 1023:cd6002e3aefb
doc/Freerunner-Howto: apparently some people still use SHR, so mention it too
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Tue, 03 May 2016 13:48:39 +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 |