FreeCalypso > hg > freecalypso-tools
annotate loadtools/Makefile @ 84:54a6864cabf4
loadtools: hwparamstubs.c split in preparation for adding fc-buzplay
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 27 Oct 2016 05:11:05 +0000 |
parents | b77005f6d315 |
children | c5766d12360d |
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 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROGS= fc-iram fc-loadtool fc-xram fc-compalram |
44
b77005f6d315
loadtools: migration to /opt/freecalypso
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
4 INSTBIN=/opt/freecalypso/bin |
b77005f6d315
loadtools: migration to /opt/freecalypso
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
5 INSTCONF=/opt/freecalypso/loadtools |
b77005f6d315
loadtools: migration to /opt/freecalypso
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
6 INSTHELP=/opt/freecalypso/helpfiles |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 EXTRA_OBJ= compalload.o |
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 COMPALRAM_OBJS= compalload.o compalram.o defpath.o sercomm.o ttypassthru.o |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
84
54a6864cabf4
loadtools: hwparamstubs.c split in preparation for adding fc-buzplay
Mychaela Falconia <falcon@freecalypso.org>
parents:
44
diff
changeset
|
12 IRAM_OBJS= defexitstub.o defpath.o flashstubs.o hexdecode.o hwparam.o \ |
54a6864cabf4
loadtools: hwparamstubs.c split in preparation for adding fc-buzplay
Mychaela Falconia <falcon@freecalypso.org>
parents:
44
diff
changeset
|
13 romload.o sercomm.o sertool.o srecreader.o ttypassthru.o \ |
54a6864cabf4
loadtools: hwparamstubs.c split in preparation for adding fc-buzplay
Mychaela Falconia <falcon@freecalypso.org>
parents:
44
diff
changeset
|
14 ${EXTRA_OBJ} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 LOADTOOL_OBJS= crc32tab.o defpath.o flashops.o flcmplboot.o flmain.o flmisc.o \ |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 flprogbin.o flprogsrec.o flutil.o hexdecode.o hwparam.o \ |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 labaud.o ltdispatch.o ltdump.o ltexit.o lthelp.o ltmain.o \ |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 ltmisc.o ltpassthru.o ltscript.o romload.o sercomm.o \ |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 srecreader.o tpinterf.o tpinterf2.o tpinterf3.o ${EXTRA_OBJ} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 |
84
54a6864cabf4
loadtools: hwparamstubs.c split in preparation for adding fc-buzplay
Mychaela Falconia <falcon@freecalypso.org>
parents:
44
diff
changeset
|
22 XRAM_OBJS= chainload.o clmain.o defexitstub.o defpath.o flashstubs.o \ |
54a6864cabf4
loadtools: hwparamstubs.c split in preparation for adding fc-buzplay
Mychaela Falconia <falcon@freecalypso.org>
parents:
44
diff
changeset
|
23 hexdecode.o hwparam.o initscript.o labaud.o romload.o sercomm.o\ |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 srecreader.o tpinterf.o ttypassthru.o ${EXTRA_OBJ} |
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 all: ${PROGS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 fc-compalram: ${COMPALRAM_OBJS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 ${CC} ${CFLAGS} -o $@ ${COMPALRAM_OBJS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 fc-iram: ${IRAM_OBJS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 ${CC} ${CFLAGS} -o $@ ${IRAM_OBJS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 fc-loadtool: ${LOADTOOL_OBJS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 ${CC} ${CFLAGS} -o $@ ${LOADTOOL_OBJS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 fc-xram: ${XRAM_OBJS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 ${CC} ${CFLAGS} -o $@ ${XRAM_OBJS} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 install: |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 mkdir -p ${INSTBIN} |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 install -c ${PROGS} ${INSTBIN} |
44
b77005f6d315
loadtools: migration to /opt/freecalypso
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
43 mkdir -p ${INSTCONF} |
b77005f6d315
loadtools: migration to /opt/freecalypso
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
44 install -c -m 644 scripts/* ${INSTCONF} |
b77005f6d315
loadtools: migration to /opt/freecalypso
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
45 mkdir -p ${INSTHELP} |
b77005f6d315
loadtools: migration to /opt/freecalypso
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
46 install -c -m 644 loadtool.help ${INSTHELP} |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 clean: |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 rm -f *.o *.out *errs ${PROGS} |