FreeCalypso > hg > freecalypso-tools
annotate rvinterf/tmsh/Makefile @ 325:545e1718f5fb
fc-loadtool: support for 28F640W30B flash chip with partition quirks
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 20 Jan 2018 05:20:40 +0000 |
parents | 92c982f67247 |
children | c1aadfcd185f |
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 |
159
8fac4aaec230
fc-tmsh: beginning of intelligent ETM_AUDIO response handling
Mychaela Falconia <falcon@freecalypso.org>
parents:
150
diff
changeset
|
4 OBJS= abb.o abbtm3.o audiocmd.o audioresp.o etmbasic.o ffs2.o ffs2resp.o \ |
8fac4aaec230
fc-tmsh: beginning of intelligent ETM_AUDIO response handling
Mychaela Falconia <falcon@freecalypso.org>
parents:
150
diff
changeset
|
5 init.o l1cmd.o l1resp.o main.o misc.o omr.o omw.o oneshot.o pktsort.o \ |
287
92c982f67247
fc-tmsh converted to link with librftab
Mychaela Falconia <falcon@freecalypso.org>
parents:
159
diff
changeset
|
6 rftablechk.o saverftab.o tmcore.o usercmd.o |
92c982f67247
fc-tmsh converted to link with librftab
Mychaela Falconia <falcon@freecalypso.org>
parents:
159
diff
changeset
|
7 LIBS= ../libasync/libasync.a ../../librftab/librftab.a |
67
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
8 INSTBIN=/opt/freecalypso/bin |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
67
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
10 all: ${PROG} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
67
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
12 ${PROG}: ${OBJS} ${LIBS} |
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
13 ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
67
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
15 install: ${PROG} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 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
|
17 install -c ${PROG} ${INSTBIN} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 clean: |
67
ee04baba7b2b
rvinterf/tmsh/Makefile: simpler structure like that used for fc-shell
Mychaela Falconia <falcon@freecalypso.org>
parents:
66
diff
changeset
|
20 rm -f *.o *.out *errs ${PROG} |