diff 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
line wrap: on
line diff
--- a/loadtools/Makefile	Sun Nov 01 05:03:35 2015 +0000
+++ b/loadtools/Makefile	Mon Nov 02 17:36:02 2015 +0000
@@ -1,10 +1,12 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	fc-iram fc-loadtool fc-xram
+PROGS=	fc-iram fc-loadtool fc-xram fc-compalram
 INSTBIN=/usr/local/bin
 
 EXTRA_OBJ=	compalload.o
 
+COMPALRAM_OBJS=	compalload.o compalram.o defpath.o sercomm.o ttypassthru.o
+
 IRAM_OBJS=	defpath.o hexdecode.o hwparam.o hwparamstubs.o romload.o \
 		sercomm.o sertool.o srecreader.o ttypassthru.o ${EXTRA_OBJ}
 
@@ -20,6 +22,9 @@
 
 all:	${PROGS}
 
+fc-compalram:	${COMPALRAM_OBJS}
+	${CC} ${CFLAGS} -o $@ ${COMPALRAM_OBJS}
+
 fc-iram:	${IRAM_OBJS}
 	${CC} ${CFLAGS} -o $@ ${IRAM_OBJS}