diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libtest/Makefile	Sat Nov 19 23:06:03 2022 +0000
@@ -0,0 +1,13 @@
+CC=	gcc
+CFLAGS=	-O2
+OBJS=	wavreader.o wavwriter.o
+LIB=	libtest.a
+
+all:	${LIB}
+
+${LIB}:	${OBJS}
+	ar rcu $@ ${OBJS}
+	ranlib $@
+
+clean:
+	rm -f *.[oa] errs