comparison 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
comparison
equal deleted inserted replaced
7:634df6435e16 8:d5b888e6a05b
1 CC= gcc
2 CFLAGS= -O2
3 OBJS= wavreader.o wavwriter.o
4 LIB= libtest.a
5
6 all: ${LIB}
7
8 ${LIB}: ${OBJS}
9 ar rcu $@ ${OBJS}
10 ranlib $@
11
12 clean:
13 rm -f *.[oa] errs