FreeCalypso > hg > themwi-ota-tools
comparison test/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 | c2de42994e57 |
children |
comparison
equal
deleted
inserted
replaced
9:b6331ae4eea9 | 10:2c022e0334c4 |
---|---|
1 CC= gcc | |
2 CFLAGS= -O2 | |
3 PROGS= ota-smspp-envelope | 1 PROGS= ota-smspp-envelope |
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-smspp-envelope: ota-smspp-envelope.o ${LIBS} | 8 ota-smspp-envelope: ota-smspp-envelope.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 |