FreeCalypso > hg > freecalypso-tools
annotate rvinterf/tmsh/Makefile @ 94:cbc6bc05d494
target-utils/Makefile: libc added to the dependencies
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 31 Oct 2016 21:33:05 +0000 |
parents | 27c41e4b21ae |
children | 2825d79bb151 |
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 |
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
4 OBJS= abb.o audiocmd.o etmbasic.o ffs2.o ffs2resp.o init.o main.o misc.o \ |
71
27c41e4b21ae
fc-tmsh one-shot operation mode implemented
Mychaela Falconia <falcon@freecalypso.org>
parents:
67
diff
changeset
|
5 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} |