FreeCalypso > hg > themwi-ota-tools
diff gen/Makefile @ 10:2c022e0334c4
convert to new ThemWi configure and build system
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 21 May 2024 01:03:40 +0000 |
parents | a33d4d8079d2 |
children |
line wrap: on
line diff
--- a/gen/Makefile Mon Feb 22 02:19:43 2021 +0000 +++ b/gen/Makefile Tue May 21 01:03:40 2024 +0000 @@ -1,8 +1,7 @@ -CC= gcc -CFLAGS= -O2 PROGS= ota-set-msisdn LIBS= ../libutil/libutil.a -INSTBIN=/opt/freecalypso/bin + +include ../config.defs all: ${PROGS} @@ -10,8 +9,8 @@ ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} install: - mkdir -p ${INSTBIN} - install -c ${PROGS} ${INSTBIN} + mkdir -p ${DESTDIR}${bindir} + install -c ${PROGS} ${DESTDIR}${bindir} clean: rm -f ${PROGS} *.o