diff src/Makefile @ 36:84affc6de365

Makefile hierarchy: add install
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 09 Jul 2024 02:22:18 +0000
parents c0ce22777694
children
line wrap: on
line diff
--- a/src/Makefile	Tue Jul 09 01:56:26 2024 +0000
+++ b/src/Makefile	Tue Jul 09 02:22:18 2024 +0000
@@ -16,5 +16,9 @@
 	ar rcu $@ ${OBJS}
 	ranlib $@
 
+install:
+	mkdir -p ${DESTDIR}${libdir}
+	install -c -m 644 ${LIB} ${DESTDIR}${libdir}
+
 clean:
 	rm -f *.[oa] errs