FreeCalypso > hg > freecalypso-sw
annotate target-utils/libbase/Makefile @ 1000:36e3f6bf0156
top README: just describe what each subtree is for, and refer to other docs
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 06 Mar 2016 21:38:21 +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 |