FreeCalypso > hg > sms-coding-utils
comparison gen-pdu/Makefile @ 25:2a19b44c272e
convert to new ThemWi configure and build system
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 21 May 2024 01:59:17 +0000 |
parents | 003660a57f99 |
children |
comparison
equal
deleted
inserted
replaced
24:f0139d74d3aa | 25:2a19b44c272e |
---|---|
1 CC= gcc | |
2 CFLAGS= -O2 | |
3 PROG= sms-gen-tpdu | 1 PROG= sms-gen-tpdu |
4 OBJS= auto_scts.o input.o main.o message.o settings.o | 2 OBJS= auto_scts.o input.o main.o message.o settings.o |
5 LIBS= ../libcoding/libcoding.a | 3 LIBS= ../libcoding/libcoding.a |
6 | 4 |
7 INSTALL_PREFIX= /opt/freecalypso | 5 include ../config.defs |
8 | |
9 INSTBIN=${INSTALL_PREFIX}/bin | |
10 | 6 |
11 all: ${PROG} | 7 all: ${PROG} |
12 | 8 |
13 ${PROG}: ${OBJS} ${LIBS} | 9 ${PROG}: ${OBJS} ${LIBS} |
14 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} | 10 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} |
15 | 11 |
16 install: ${PROG} | 12 install: ${PROG} |
17 mkdir -p ${INSTBIN} | 13 mkdir -p ${DESTDIR}${bindir} |
18 install -c ${PROG} ${INSTBIN} | 14 install -c ${PROG} ${DESTDIR}${bindir} |
19 | 15 |
20 clean: | 16 clean: |
21 rm -f *.o *.out *errs ${PROG} | 17 rm -f *.o *.out *errs ${PROG} |