FreeCalypso > hg > freecalypso-tools
annotate rvinterf/tmsh/Makefile @ 116:3eb75280b38b
rvinterf/include/l1tm.h: definitions from l1tm_msgty.h in the firmware
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 18 Feb 2017 06:54:06 +0000 |
parents | 2825d79bb151 |
children | 4070847293a9 |
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 |
67
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
3 PROG= fc-tmsh |
112
2825d79bb151
fc-tmsh: beginning of L1TM command support
Mychaela Falconia <falcon@freecalypso.org>
parents:
71
diff
changeset
|
4 OBJS= abb.o audiocmd.o etmbasic.o ffs2.o ffs2resp.o init.o l1cmd.o main.o \ |
2825d79bb151
fc-tmsh: beginning of L1TM command support
Mychaela Falconia <falcon@freecalypso.org>
parents:
71
diff
changeset
|
5 misc.o omr.o oneshot.o pktsort.o tmcore.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 |
67
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
7 INSTBIN=/opt/freecalypso/bin |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
67
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
9 all: ${PROG} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
67
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
11 ${PROG}: ${OBJS} ${LIBS} |
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
12 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
67
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
14 install: ${PROG} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 mkdir -p ${INSTBIN} |
67
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
16 install -c ${PROG} ${INSTBIN} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 clean: |
67
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
19 rm -f *.o *.out *errs ${PROG} |