FreeCalypso > hg > freecalypso-tools
comparison loadtools/Makefile @ 790:0bbe0213812d
fc-simint put together, compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 19 Mar 2021 04:40:05 +0000 |
parents | a167d7b376b7 |
children | 502aec4c1e8e |
comparison
equal
deleted
inserted
replaced
789:464a531122ab | 790:0bbe0213812d |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROGS= fc-iram fc-loadtool fc-xram fc-compalram fc-buzplay fc-dspromdump | 3 PROGS= fc-iram fc-loadtool fc-xram fc-compalram fc-buzplay fc-dspromdump \ |
4 fc-simint | |
4 | 5 |
5 INSTALL_PREFIX= /opt/freecalypso | 6 INSTALL_PREFIX= /opt/freecalypso |
6 | 7 |
7 INSTBIN=${INSTALL_PREFIX}/bin | 8 INSTBIN=${INSTALL_PREFIX}/bin |
8 INSTCONF=${INSTALL_PREFIX}/loadtools | 9 INSTCONF=${INSTALL_PREFIX}/loadtools |
32 | 33 |
33 ROMDUMP_OBJS= compalload.o defpath.o flashstubs.o hexdecode.o hwparam.o \ | 34 ROMDUMP_OBJS= compalload.o defpath.o flashstubs.o hexdecode.o hwparam.o \ |
34 labaud.o ltexit.o romdump.o romload.o srecreader.o tpinterf.o \ | 35 labaud.o ltexit.o romdump.o romload.o srecreader.o tpinterf.o \ |
35 tpinterf2.o | 36 tpinterf2.o |
36 | 37 |
38 SIMINT_OBJS= compalload.o defexitstub.o defpath.o flashstubs.o hexdecode.o \ | |
39 hwparam.o labaud.o romload.o simatr.o simmain.o simup.o \ | |
40 srecreader.o tpinterf.o tpinterf2.o | |
41 | |
37 LIBPWON= ../libpwon/libpwon.a | 42 LIBPWON= ../libpwon/libpwon.a |
38 LIBSERIAL= ../libserial/libserial.a | 43 LIBSERIAL= ../libserial/libserial.a |
39 | 44 |
40 all: ${PROGS} | 45 all: ${PROGS} |
41 | 46 |
55 ${CC} ${CFLAGS} -o $@ ${BUZPLAY_OBJS} ${LIBPWON} ${LIBSERIAL} | 60 ${CC} ${CFLAGS} -o $@ ${BUZPLAY_OBJS} ${LIBPWON} ${LIBSERIAL} |
56 | 61 |
57 fc-dspromdump: ${ROMDUMP_OBJS} ${LIBPWON} ${LIBSERIAL} | 62 fc-dspromdump: ${ROMDUMP_OBJS} ${LIBPWON} ${LIBSERIAL} |
58 ${CC} ${CFLAGS} -o $@ ${ROMDUMP_OBJS} ${LIBPWON} ${LIBSERIAL} | 63 ${CC} ${CFLAGS} -o $@ ${ROMDUMP_OBJS} ${LIBPWON} ${LIBSERIAL} |
59 | 64 |
65 fc-simint: ${SIMINT_OBJS} ${LIBPWON} ${LIBSERIAL} | |
66 ${CC} ${CFLAGS} -o $@ ${SIMINT_OBJS} ${LIBPWON} ${LIBSERIAL} | |
67 | |
60 install: | 68 install: |
61 mkdir -p ${INSTBIN} | 69 mkdir -p ${INSTBIN} |
62 install -c ${PROGS} ${INSTBIN} | 70 install -c ${PROGS} ${INSTBIN} |
63 mkdir -p ${INSTCONF} | 71 mkdir -p ${INSTCONF} |
64 install -c -m 644 scripts/* ${INSTCONF} | 72 install -c -m 644 scripts/* ${INSTCONF} |