comparison 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
comparison
equal deleted inserted replaced
9:b6331ae4eea9 10:2c022e0334c4
1 CC= gcc
2 CFLAGS= -O2
3 PROGS= ota-set-msisdn 1 PROGS= ota-set-msisdn
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-set-msisdn: ota-set-msisdn.o ${LIBS} 8 ota-set-msisdn: ota-set-msisdn.o ${LIBS}
10 ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} 9 ${CC} ${CFLAGS} -o $@ $@.o ${LIBS}
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