FreeCalypso > hg > themwi-ota-tools
diff smswrap/Makefile @ 2:d5e9af482548
ota-smswrap-sjs1 program written, compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 21 Feb 2021 22:21:29 +0000 |
parents | |
children | 2c022e0334c4 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/smswrap/Makefile Sun Feb 21 22:21:29 2021 +0000 @@ -0,0 +1,17 @@ +CC= gcc +CFLAGS= -O2 +PROGS= ota-smswrap-sjs1 +LIBS= ../libutil/libutil.a +INSTBIN=/opt/freecalypso/bin + +all: ${PROGS} + +ota-smswrap-sjs1: ota-smswrap-sjs1.o ${LIBS} + ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} -lcrypto + +install: + mkdir -p ${INSTBIN} + install -c ${PROGS} ${INSTBIN} + +clean: + rm -f ${PROGS} *.o