FreeCalypso > hg > gsm-codec-lib
annotate libtest/Makefile @ 8:d5b888e6a05b
libtest: add Makefile
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 19 Nov 2022 23:06:03 +0000 |
parents | |
children | 820d88b97924 |
rev | line source |
---|---|
8
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 OBJS= wavreader.o wavwriter.o |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 LIB= libtest.a |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 all: ${LIB} |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ${LIB}: ${OBJS} |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ar rcu $@ ${OBJS} |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ranlib $@ |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 clean: |
d5b888e6a05b
libtest: add Makefile
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 rm -f *.[oa] errs |