comparison loadtools/Makefile @ 945:86ff6d0b0a97

loadtools: fc-compalram trivial utility added
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Mon, 02 Nov 2015 17:36:02 +0000
parents bf49e348576b
children
comparison
equal deleted inserted replaced
944:51f580665110 945:86ff6d0b0a97
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= fc-iram fc-loadtool fc-xram 3 PROGS= fc-iram fc-loadtool fc-xram fc-compalram
4 INSTBIN=/usr/local/bin 4 INSTBIN=/usr/local/bin
5 5
6 EXTRA_OBJ= compalload.o 6 EXTRA_OBJ= compalload.o
7
8 COMPALRAM_OBJS= compalload.o compalram.o defpath.o sercomm.o ttypassthru.o
7 9
8 IRAM_OBJS= defpath.o hexdecode.o hwparam.o hwparamstubs.o romload.o \ 10 IRAM_OBJS= defpath.o hexdecode.o hwparam.o hwparamstubs.o romload.o \
9 sercomm.o sertool.o srecreader.o ttypassthru.o ${EXTRA_OBJ} 11 sercomm.o sertool.o srecreader.o ttypassthru.o ${EXTRA_OBJ}
10 12
11 LOADTOOL_OBJS= crc32tab.o defpath.o flashops.o flcmplboot.o flmain.o flmisc.o \ 13 LOADTOOL_OBJS= crc32tab.o defpath.o flashops.o flcmplboot.o flmain.o flmisc.o \
17 XRAM_OBJS= chainload.o clmain.o defpath.o hexdecode.o hwparam.o \ 19 XRAM_OBJS= chainload.o clmain.o defpath.o hexdecode.o hwparam.o \
18 hwparamstubs.o initscript.o labaud.o romload.o sercomm.o \ 20 hwparamstubs.o initscript.o labaud.o romload.o sercomm.o \
19 srecreader.o tpinterf.o ttypassthru.o ${EXTRA_OBJ} 21 srecreader.o tpinterf.o ttypassthru.o ${EXTRA_OBJ}
20 22
21 all: ${PROGS} 23 all: ${PROGS}
24
25 fc-compalram: ${COMPALRAM_OBJS}
26 ${CC} ${CFLAGS} -o $@ ${COMPALRAM_OBJS}
22 27
23 fc-iram: ${IRAM_OBJS} 28 fc-iram: ${IRAM_OBJS}
24 ${CC} ${CFLAGS} -o $@ ${IRAM_OBJS} 29 ${CC} ${CFLAGS} -o $@ ${IRAM_OBJS}
25 30
26 fc-loadtool: ${LOADTOOL_OBJS} 31 fc-loadtool: ${LOADTOOL_OBJS}