FreeCalypso > hg > freecalypso-sw
view loadtools/Makefile @ 402:582b5052c86d
loadtools/scripts/compal.config: added flash cfi-4M 0
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 15 Jun 2014 20:38:18 +0000 |
parents | 7ef814efbebe |
children | a212b4968b29 |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROGS= fc-iram fc-loadtool fc-xram INSTBIN=/usr/local/bin EXTRA_OBJ= compalload.o IRAM_OBJS= defpath.o hexdecode.o hwparam.o hwparamstubs.o romload.o \ sercomm.o sertool.o srecreader.o ttypassthru.o ${EXTRA_OBJ} LOADTOOL_OBJS= crc32tab.o defpath.o flerase.o flprogbin.o flprogsrec.o \ flutil.o hexdecode.o hwparam.o labaud.o ltdispatch.o ltdump.o \ ltexit.o ltflash.o lthelp.o ltmain.o ltmisc.o ltpassthru.o \ ltscript.o romload.o sercomm.o srecreader.o tpinterf.o \ tpinterf2.o tpinterf3.o ${EXTRA_OBJ} XRAM_OBJS= chainload.o clmain.o defpath.o hexdecode.o hwparam.o \ hwparamstubs.o initscript.o labaud.o romload.o sercomm.o \ srecreader.o tpinterf.o ttypassthru.o ${EXTRA_OBJ} all: ${PROGS} fc-iram: ${IRAM_OBJS} ${CC} ${CFLAGS} -o $@ ${IRAM_OBJS} fc-loadtool: ${LOADTOOL_OBJS} ${CC} ${CFLAGS} -o $@ ${LOADTOOL_OBJS} fc-xram: ${XRAM_OBJS} ${CC} ${CFLAGS} -o $@ ${XRAM_OBJS} install: mkdir -p ${INSTBIN} install -c ${PROGS} ${INSTBIN} ./install-helpers.sh clean: rm -f *.o *.out *errs ${PROGS}