diff loadtools/Makefile @ 23:aca1948e9713

loadtool: initial version compiles and links
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 04 May 2013 04:52:05 +0000
parents e658a84b37df
children ae6294b8a015
line wrap: on
line diff
--- a/loadtools/Makefile	Sat May 04 04:36:29 2013 +0000
+++ b/loadtools/Makefile	Sat May 04 04:52:05 2013 +0000
@@ -1,17 +1,20 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	fc-sertool
+PROGS=	fc-loadtool fc-sertool
 
 SERTOOL_OBJS=	defpath.o hexdecode.o hwparam.o romload.o sercomm.o sertool.o \
 		srecreader.o ttypassthru.o
 
 LOADTOOL_OBJS=	defpath.o hexdecode.o hwparam.o ltdispatch.o ltmain.o \
-		romload.o sercomm.o srecreader.o tpinterf.o
+		ltpassthru.o romload.o sercomm.o srecreader.o tpinterf.o
 
-all:	${PROGS} ${LOADTOOL_OBJS}
+all:	${PROGS}
 
 fc-sertool:	${SERTOOL_OBJS}
 	${CC} -o $@ ${SERTOOL_OBJS}
 
+fc-loadtool:	${LOADTOOL_OBJS}
+	${CC} -o $@ ${LOADTOOL_OBJS}
+
 clean:
 	rm -f *.o *.out *errs ${PROGS}