FreeCalypso > hg > freecalypso-sw
comparison loadtools/Makefile @ 42:5da0cbee2b89
fc-xram tool written, compiles, now needs to be debugged
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 17 Jun 2013 07:18:04 +0000 |
parents | 05af070c4b60 |
children | 16315ed6401a |
comparison
equal
deleted
inserted
replaced
41:1c50add5e202 | 42:5da0cbee2b89 |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROGS= fc-loadtool fc-sertool | 3 PROGS= fc-loadtool fc-sertool fc-xram |
4 SCRIPTS=scripts/pirelli.config scripts/pirelli.init | 4 SCRIPTS=scripts/pirelli.config scripts/pirelli.init |
5 INSTBIN=/usr/local/bin | 5 INSTBIN=/usr/local/bin |
6 INSTSCR=/usr/local/share/freecalypso | 6 INSTSCR=/usr/local/share/freecalypso |
7 | 7 |
8 SERTOOL_OBJS= defpath.o hexdecode.o hwparam.o romload.o sercomm.o sertool.o \ | 8 SERTOOL_OBJS= defpath.o hexdecode.o hwparam.o romload.o sercomm.o sertool.o \ |
10 | 10 |
11 LOADTOOL_OBJS= crc32tab.o defpath.o hexdecode.o hwparam.o ltdispatch.o \ | 11 LOADTOOL_OBJS= crc32tab.o defpath.o hexdecode.o hwparam.o ltdispatch.o \ |
12 ltdump.o ltexit.o ltmain.o ltpassthru.o ltscript.o romload.o \ | 12 ltdump.o ltexit.o ltmain.o ltpassthru.o ltscript.o romload.o \ |
13 sercomm.o srecreader.o tpinterf.o tpinterf2.o | 13 sercomm.o srecreader.o tpinterf.o tpinterf2.o |
14 | 14 |
15 XRAM_OBJS= chainload.o clmain.o defpath.o hexdecode.o hwparam.o romload.o \ | |
16 sercomm.o srecreader.o tpinterf.o ttypassthru.o | |
17 | |
15 all: ${PROGS} | 18 all: ${PROGS} |
16 | 19 |
17 fc-sertool: ${SERTOOL_OBJS} | 20 fc-sertool: ${SERTOOL_OBJS} |
18 ${CC} -o $@ ${SERTOOL_OBJS} | 21 ${CC} -o $@ ${SERTOOL_OBJS} |
19 | 22 |
20 fc-loadtool: ${LOADTOOL_OBJS} | 23 fc-loadtool: ${LOADTOOL_OBJS} |
21 ${CC} -o $@ ${LOADTOOL_OBJS} | 24 ${CC} -o $@ ${LOADTOOL_OBJS} |
22 | 25 |
26 fc-xram: ${XRAM_OBJS} | |
27 ${CC} -o $@ ${XRAM_OBJS} | |
28 | |
23 install: | 29 install: |
24 #install -c ${PROGS} ${INSTBIN} | 30 #install -c ${PROGS} ${INSTBIN} |
25 install -c ${SCRIPTS} ${INSTSCR} | 31 install -c ${SCRIPTS} ${INSTSCR} |
26 | 32 |
27 clean: | 33 clean: |