FreeCalypso > hg > gsm-codec-lib
annotate libtest/Makefile @ 10:820d88b97924
libtest: implement binary file reader
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 19 Nov 2022 23:57:42 +0000 |
parents | d5b888e6a05b |
children | a3aa152c4653 |
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 |
10
820d88b97924
libtest: implement binary file reader
Mychaela Falconia <falcon@freecalypso.org>
parents:
8
diff
changeset
|
3 OBJS= binreader.o wavreader.o wavwriter.o |
8
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 |