FreeCalypso > hg > freecalypso-tools
comparison loadtools/Makefile @ 85:c5766d12360d
fc-buzplay started
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 27 Oct 2016 05:28:30 +0000 |
parents | 54a6864cabf4 |
children | 684eddecbc62 |
comparison
equal
deleted
inserted
replaced
84:54a6864cabf4 | 85:c5766d12360d |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROGS= fc-iram fc-loadtool fc-xram fc-compalram | 3 PROGS= fc-iram fc-loadtool fc-xram fc-compalram fc-buzplay |
4 INSTBIN=/opt/freecalypso/bin | 4 INSTBIN=/opt/freecalypso/bin |
5 INSTCONF=/opt/freecalypso/loadtools | 5 INSTCONF=/opt/freecalypso/loadtools |
6 INSTHELP=/opt/freecalypso/helpfiles | 6 INSTHELP=/opt/freecalypso/helpfiles |
7 | 7 |
8 EXTRA_OBJ= compalload.o | 8 EXTRA_OBJ= compalload.o |
21 | 21 |
22 XRAM_OBJS= chainload.o clmain.o defexitstub.o defpath.o flashstubs.o \ | 22 XRAM_OBJS= chainload.o clmain.o defexitstub.o defpath.o flashstubs.o \ |
23 hexdecode.o hwparam.o initscript.o labaud.o romload.o sercomm.o\ | 23 hexdecode.o hwparam.o initscript.o labaud.o romload.o sercomm.o\ |
24 srecreader.o tpinterf.o ttypassthru.o ${EXTRA_OBJ} | 24 srecreader.o tpinterf.o ttypassthru.o ${EXTRA_OBJ} |
25 | 25 |
26 BUZPLAY_OBJS= bpdispatch.o bpmain.o defpath.o flashstubs.o hexdecode.o \ | |
27 hwparam.o labaud.o ltexit.o ltpassthru.o romload.o sercomm.o \ | |
28 srecreader.o tpinterf.o ${EXTRA_OBJ} | |
29 | |
26 all: ${PROGS} | 30 all: ${PROGS} |
27 | 31 |
28 fc-compalram: ${COMPALRAM_OBJS} | 32 fc-compalram: ${COMPALRAM_OBJS} |
29 ${CC} ${CFLAGS} -o $@ ${COMPALRAM_OBJS} | 33 ${CC} ${CFLAGS} -o $@ ${COMPALRAM_OBJS} |
30 | 34 |
35 ${CC} ${CFLAGS} -o $@ ${LOADTOOL_OBJS} | 39 ${CC} ${CFLAGS} -o $@ ${LOADTOOL_OBJS} |
36 | 40 |
37 fc-xram: ${XRAM_OBJS} | 41 fc-xram: ${XRAM_OBJS} |
38 ${CC} ${CFLAGS} -o $@ ${XRAM_OBJS} | 42 ${CC} ${CFLAGS} -o $@ ${XRAM_OBJS} |
39 | 43 |
44 fc-buzplay: ${BUZPLAY_OBJS} | |
45 ${CC} ${CFLAGS} -o $@ ${BUZPLAY_OBJS} | |
46 | |
40 install: | 47 install: |
41 mkdir -p ${INSTBIN} | 48 mkdir -p ${INSTBIN} |
42 install -c ${PROGS} ${INSTBIN} | 49 install -c ${PROGS} ${INSTBIN} |
43 mkdir -p ${INSTCONF} | 50 mkdir -p ${INSTCONF} |
44 install -c -m 644 scripts/* ${INSTCONF} | 51 install -c -m 644 scripts/* ${INSTCONF} |