FreeCalypso > hg > freecalypso-tools
annotate ringtools/Makefile @ 960:411d1cc14326
sms-pdu-decode family: prepare for SC address becoming optional
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 04 Aug 2023 23:09:12 +0000 |
parents | b8ecdf54a957 |
children |
rev | line source |
---|---|
33
cefdc6623322
fc-e1gen utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
cefdc6623322
fc-e1gen utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
874
f442156d31ad
ringtools: fc-ringlist-comp program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
867
diff
changeset
|
3 PROGS= fc-e1decode fc-e1gen fc-pwt-comp fc-ringlist-comp |
888
b8ecdf54a957
fc-imyplay script
Mychaela Falconia <falcon@freecalypso.org>
parents:
883
diff
changeset
|
4 SCRIPTS=fc-imyplay fc-meltest-e1 fc-meltest-pwt |
883
34f0b7eb4b75
ringtools/Makefile: add fc-imy2pwt
Mychaela Falconia <falcon@freecalypso.org>
parents:
878
diff
changeset
|
5 SUBDIR= imy |
473
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
176
diff
changeset
|
6 |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
176
diff
changeset
|
7 INSTALL_PREFIX= /opt/freecalypso |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
176
diff
changeset
|
8 |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
176
diff
changeset
|
9 INSTBIN=${INSTALL_PREFIX}/bin |
33
cefdc6623322
fc-e1gen utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
883
34f0b7eb4b75
ringtools/Makefile: add fc-imy2pwt
Mychaela Falconia <falcon@freecalypso.org>
parents:
878
diff
changeset
|
11 all: ${PROGS} ${SUBDIR} |
34f0b7eb4b75
ringtools/Makefile: add fc-imy2pwt
Mychaela Falconia <falcon@freecalypso.org>
parents:
878
diff
changeset
|
12 |
34f0b7eb4b75
ringtools/Makefile: add fc-imy2pwt
Mychaela Falconia <falcon@freecalypso.org>
parents:
878
diff
changeset
|
13 ${SUBDIR}: FRC |
34f0b7eb4b75
ringtools/Makefile: add fc-imy2pwt
Mychaela Falconia <falcon@freecalypso.org>
parents:
878
diff
changeset
|
14 cd $@; ${MAKE} ${MFLAGS} CC=${CC} CFLAGS="${CFLAGS}" |
33
cefdc6623322
fc-e1gen utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 |
176
2b38691076b9
fc-e1decode utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
48
diff
changeset
|
16 fc-e1decode: fc-e1decode.c |
2b38691076b9
fc-e1decode utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
48
diff
changeset
|
17 ${CC} ${CFLAGS} -o $@ $@.c |
2b38691076b9
fc-e1decode utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
48
diff
changeset
|
18 |
33
cefdc6623322
fc-e1gen utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 fc-e1gen: fc-e1gen.c |
cefdc6623322
fc-e1gen utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 ${CC} ${CFLAGS} -o $@ $@.c |
cefdc6623322
fc-e1gen utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 |
867
dfd98dd46068
ringtools: fc-pwt-comp utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
22 fc-pwt-comp: fc-pwt-comp.c |
dfd98dd46068
ringtools: fc-pwt-comp utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
23 ${CC} ${CFLAGS} -o $@ $@.c |
dfd98dd46068
ringtools: fc-pwt-comp utility written
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
24 |
874
f442156d31ad
ringtools: fc-ringlist-comp program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
867
diff
changeset
|
25 fc-ringlist-comp: fc-ringlist-comp.c |
f442156d31ad
ringtools: fc-ringlist-comp program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
867
diff
changeset
|
26 ${CC} ${CFLAGS} -o $@ $@.c |
f442156d31ad
ringtools: fc-ringlist-comp program written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
867
diff
changeset
|
27 |
33
cefdc6623322
fc-e1gen utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 install: |
cefdc6623322
fc-e1gen utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 mkdir -p ${INSTBIN} |
878
f80e3ec41998
ringtools/Makefile: install fc-meltest-{e1,pwt}
Mychaela Falconia <falcon@freecalypso.org>
parents:
874
diff
changeset
|
30 install -c ${PROGS} ${SCRIPTS} ${INSTBIN} |
883
34f0b7eb4b75
ringtools/Makefile: add fc-imy2pwt
Mychaela Falconia <falcon@freecalypso.org>
parents:
878
diff
changeset
|
31 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} \ |
34f0b7eb4b75
ringtools/Makefile: add fc-imy2pwt
Mychaela Falconia <falcon@freecalypso.org>
parents:
878
diff
changeset
|
32 INSTALL_PREFIX=${INSTALL_PREFIX} install); done |
33
cefdc6623322
fc-e1gen utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 |
cefdc6623322
fc-e1gen utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 clean: |
cefdc6623322
fc-e1gen utility written, compiles
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 rm -f ${PROGS} *.o *errs *.out |
883
34f0b7eb4b75
ringtools/Makefile: add fc-imy2pwt
Mychaela Falconia <falcon@freecalypso.org>
parents:
878
diff
changeset
|
36 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
34f0b7eb4b75
ringtools/Makefile: add fc-imy2pwt
Mychaela Falconia <falcon@freecalypso.org>
parents:
878
diff
changeset
|
37 |
34f0b7eb4b75
ringtools/Makefile: add fc-imy2pwt
Mychaela Falconia <falcon@freecalypso.org>
parents:
878
diff
changeset
|
38 FRC: |