annotate uptools/sms-pdu-decode/Makefile @ 377:f7228c18463a

uptools/libcoding: added function for UCS-2 BE output
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 08 Mar 2018 23:59:42 +0000
parents 560af437a429
children 90d7c360a614
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
337
560af437a429 sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
560af437a429 sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
560af437a429 sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 PROG= sms-pdu-decode
560af437a429 sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 LIB= ../libcoding/libcoding.a
560af437a429 sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 OBJS= ${PROG}.o ${LIB}
560af437a429 sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 INSTBIN=/opt/freecalypso/bin
560af437a429 sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
560af437a429 sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 all: ${PROG}
560af437a429 sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
560af437a429 sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 ${PROG}: ${OBJS}
560af437a429 sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 ${CC} ${CFLAGS} -o $@ ${OBJS}
560af437a429 sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
560af437a429 sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 install:
560af437a429 sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 mkdir -p ${INSTBIN}
560af437a429 sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 install -c ${PROG} ${INSTBIN}
560af437a429 sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
560af437a429 sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 clean:
560af437a429 sms-pdu-decode main program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 rm -f ${PROG} *.o *errs *.out