FreeCalypso > hg > freecalypso-tools
annotate rvinterf/asyncshell/Makefile @ 31:5b4e345095c4
fc-shell help command implemented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 23 Oct 2016 18:38:07 +0000 |
parents | 43e4c95d148a |
children | 642da3373772 |
rev | line source |
---|---|
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 -I../include |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROG= fc-shell |
31
5b4e345095c4
fc-shell help command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
30
diff
changeset
|
4 OBJS= at.o help.o init.o main.o oneshot.o parse.o pktsort.o poweroff.o \ |
5b4e345095c4
fc-shell help command implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
30
diff
changeset
|
5 rxctl.o sendarb.o sendsp.o tchcmd.o tchplay.o tchrec.o usercmd.o |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 LIBS= ../libasync/libasync.a ../libg23/libg23.a |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 INSTBIN=/usr/local/bin |
30
43e4c95d148a
rvinterf/asyncshell/Makefile: install fc-shell.help
Mychaela Falconia <falcon@freecalypso.org>
parents:
4
diff
changeset
|
8 INSTHELP=/usr/local/share/freecalypso |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 all: ${PROG} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 ${PROG}: ${OBJS} ${LIBS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} |
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 install: ${PROG} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 mkdir -p ${INSTBIN} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 install -c ${PROG} ${INSTBIN} |
30
43e4c95d148a
rvinterf/asyncshell/Makefile: install fc-shell.help
Mychaela Falconia <falcon@freecalypso.org>
parents:
4
diff
changeset
|
18 mkdir -p ${INSTHELP} |
43e4c95d148a
rvinterf/asyncshell/Makefile: install fc-shell.help
Mychaela Falconia <falcon@freecalypso.org>
parents:
4
diff
changeset
|
19 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
|
20 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 clean: |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 rm -f *.o *.out *errs ${PROG} |