FreeCalypso > hg > themwi-ota-tools
diff smswrap/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 | d5e9af482548 |
children |
line wrap: on
line diff
--- a/smswrap/Makefile Mon Feb 22 02:19:43 2021 +0000 +++ b/smswrap/Makefile Tue May 21 01:03:40 2024 +0000 @@ -1,8 +1,7 @@ -CC= gcc -CFLAGS= -O2 PROGS= ota-smswrap-sjs1 LIBS= ../libutil/libutil.a -INSTBIN=/opt/freecalypso/bin + +include ../config.defs all: ${PROGS} @@ -10,8 +9,8 @@ ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} -lcrypto install: - mkdir -p ${INSTBIN} - install -c ${PROGS} ${INSTBIN} + mkdir -p ${DESTDIR}${bindir} + install -c ${PROGS} ${DESTDIR}${bindir} clean: rm -f ${PROGS} *.o