FreeCalypso > hg > themwi-nanp
comparison libnumdb/Makefile @ 14:78319ed870dc
convert to new ThemWi configure and build system
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Tue, 21 May 2024 00:15:24 +0000 |
| parents | 3d6cfb615d90 |
| children |
comparison
equal
deleted
inserted
replaced
| 13:c0bfd300b6e5 | 14:78319ed870dc |
|---|---|
| 1 INSTALL_PREFIX= /opt/themwi | 1 CPPFLAGS=-I../build-inc |
| 2 | |
| 3 CC= gcc | |
| 4 CFLAGS= -O2 -I../build-inc | |
| 5 OBJS= check_nanp.o check_short.o readbin.o refresh.o | 2 OBJS= check_nanp.o check_short.o readbin.o refresh.o |
| 6 LIB= libnumdb.a | 3 LIB= libnumdb.a |
| 7 INSTDIR=${INSTALL_PREFIX}/lib | 4 |
| 5 include ../config.defs | |
| 8 | 6 |
| 9 all: ${LIB} | 7 all: ${LIB} |
| 10 | 8 |
| 11 ${LIB}: ${OBJS} | 9 ${LIB}: ${OBJS} |
| 12 ar rcu $@ ${OBJS} | 10 ar rcu $@ ${OBJS} |
| 13 ranlib $@ | 11 ranlib $@ |
| 14 | 12 |
| 15 install: | 13 install: |
| 16 mkdir -p ${INSTDIR} | 14 mkdir -p ${DESTDIR}${libdir} |
| 17 install -c -m 644 ${LIB} ${INSTDIR} | 15 install -c -m 644 ${LIB} ${DESTDIR}${libdir} |
| 18 | 16 |
| 19 clean: | 17 clean: |
| 20 rm -f *.[oa] errs | 18 rm -f *.[oa] errs |
