FreeCalypso > hg > sms-coding-utils
annotate enc-text/Makefile @ 11:9ed03ed4e673
add README
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 05 Aug 2023 08:44:32 +0000 |
parents | a16b1b9728f6 |
children | 2a19b44c272e |
rev | line source |
---|---|
2
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROG= sms-encode-text |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 OBJS= concat_refno.o gsm7.o main.o ucs2.o |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 LIBS= ../libcoding/libcoding.a |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 INSTALL_PREFIX= /opt/freecalypso |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 INSTBIN=${INSTALL_PREFIX}/bin |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 all: ${PROG} |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 ${PROG}: ${OBJS} ${LIBS} |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 install: ${PROG} |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 mkdir -p ${INSTBIN} |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 install -c ${PROG} ${INSTBIN} |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 clean: |
a16b1b9728f6
enc-text: sms-encode-text program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 rm -f *.o *.out *errs ${PROG} |