FreeCalypso > hg > freecalypso-tools
annotate rvinterf/asyncshell/Makefile @ 947:1f2459a776d7
doc/TCH-bit-access: point to gsm-codec-lib release tarball URL
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 06 Jun 2023 04:37:54 +0000 |
parents | 31a36b400cdf |
children |
rev | line source |
---|---|
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
470
1d5bd9a06781
rvinterf tree Makefiles: split CPPFLAGS from CFLAGS
Mychaela Falconia <falcon@freecalypso.org>
parents:
422
diff
changeset
|
2 CFLAGS= -O2 |
1d5bd9a06781
rvinterf tree Makefiles: split CPPFLAGS from CFLAGS
Mychaela Falconia <falcon@freecalypso.org>
parents:
422
diff
changeset
|
3 CPPFLAGS=-I../include |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 PROG= fc-shell |
748
b55a81ce7497
fc-shell: implement MMI_BATTERY_IND sending
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
5 OBJS= at.o battery.o help.o init.o keypress.o main.o oneshot.o parse.o \ |
b55a81ce7497
fc-shell: implement MMI_BATTERY_IND sending
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
6 pktsort.o poweroff.o rxctl.o sendarb.o sendsp.o tchcmd.o tchplay.o \ |
b55a81ce7497
fc-shell: implement MMI_BATTERY_IND sending
Mychaela Falconia <falcon@freecalypso.org>
parents:
473
diff
changeset
|
7 tchrec.o usercmd.o |
943
31a36b400cdf
fc-shell: replace libg23 with libprint
Mychaela Falconia <falcon@freecalypso.org>
parents:
926
diff
changeset
|
8 LIBS= ../libasync/libasync.a ../libprint/libprint.a ../libinterf/libinterf.a |
473
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
470
diff
changeset
|
9 |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
470
diff
changeset
|
10 INSTALL_PREFIX= /opt/freecalypso |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
470
diff
changeset
|
11 |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
470
diff
changeset
|
12 INSTBIN=${INSTALL_PREFIX}/bin |
90d7c360a614
main tree Makefile hierarchy: INSTALL_PREFIX= scheme implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
470
diff
changeset
|
13 INSTHELP=${INSTALL_PREFIX}/helpfiles |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 all: ${PROG} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 ${PROG}: ${OBJS} ${LIBS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 install: ${PROG} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 mkdir -p ${INSTBIN} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 install -c ${PROG} ${INSTBIN} |
30
43e4c95d148a
rvinterf/asyncshell/Makefile: install fc-shell.help
Mychaela Falconia <falcon@freecalypso.org>
parents:
4
diff
changeset
|
23 mkdir -p ${INSTHELP} |
43e4c95d148a
rvinterf/asyncshell/Makefile: install fc-shell.help
Mychaela Falconia <falcon@freecalypso.org>
parents:
4
diff
changeset
|
24 install -c -m 644 helpfile ${INSTHELP}/fc-shell.help |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 clean: |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 rm -f *.o *.out *errs ${PROG} |