comparison 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
comparison
equal deleted inserted replaced
9:b6331ae4eea9 10:2c022e0334c4
1 CC= gcc
2 CFLAGS= -O2
3 PROGS= ota-smswrap-sjs1 1 PROGS= ota-smswrap-sjs1
4 LIBS= ../libutil/libutil.a 2 LIBS= ../libutil/libutil.a
5 INSTBIN=/opt/freecalypso/bin 3
4 include ../config.defs
6 5
7 all: ${PROGS} 6 all: ${PROGS}
8 7
9 ota-smswrap-sjs1: ota-smswrap-sjs1.o ${LIBS} 8 ota-smswrap-sjs1: ota-smswrap-sjs1.o ${LIBS}
10 ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} -lcrypto 9 ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} -lcrypto
11 10
12 install: 11 install:
13 mkdir -p ${INSTBIN} 12 mkdir -p ${DESTDIR}${bindir}
14 install -c ${PROGS} ${INSTBIN} 13 install -c ${PROGS} ${DESTDIR}${bindir}
15 14
16 clean: 15 clean:
17 rm -f ${PROGS} *.o 16 rm -f ${PROGS} *.o