comparison 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
comparison
equal deleted inserted replaced
35:c0ce22777694 36:84affc6de365
14 14
15 ${LIB}: ${OBJS} 15 ${LIB}: ${OBJS}
16 ar rcu $@ ${OBJS} 16 ar rcu $@ ${OBJS}
17 ranlib $@ 17 ranlib $@
18 18
19 install:
20 mkdir -p ${DESTDIR}${libdir}
21 install -c -m 644 ${LIB} ${DESTDIR}${libdir}
22
19 clean: 23 clean:
20 rm -f *.[oa] errs 24 rm -f *.[oa] errs