diff 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
line wrap: on
line diff
--- a/loadtools/Makefile	Sun Jun 16 07:31:23 2013 +0000
+++ b/loadtools/Makefile	Mon Jun 17 07:18:04 2013 +0000
@@ -1,6 +1,6 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	fc-loadtool fc-sertool
+PROGS=	fc-loadtool fc-sertool fc-xram
 SCRIPTS=scripts/pirelli.config scripts/pirelli.init
 INSTBIN=/usr/local/bin
 INSTSCR=/usr/local/share/freecalypso
@@ -12,6 +12,9 @@
 		ltdump.o ltexit.o ltmain.o ltpassthru.o ltscript.o romload.o \
 		sercomm.o srecreader.o tpinterf.o tpinterf2.o
 
+XRAM_OBJS=	chainload.o clmain.o defpath.o hexdecode.o hwparam.o romload.o \
+		sercomm.o srecreader.o tpinterf.o ttypassthru.o
+
 all:	${PROGS}
 
 fc-sertool:	${SERTOOL_OBJS}
@@ -20,6 +23,9 @@
 fc-loadtool:	${LOADTOOL_OBJS}
 	${CC} -o $@ ${LOADTOOL_OBJS}
 
+fc-xram:	${XRAM_OBJS}
+	${CC} -o $@ ${XRAM_OBJS}
+
 install:
 	#install -c ${PROGS} ${INSTBIN}
 	install -c ${SCRIPTS} ${INSTSCR}