diff loadtools/Makefile @ 9:fea204bc7674

fc-sertool compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 01 May 2013 02:43:17 +0000
parents acaac9162574
children 24b88c119465
line wrap: on
line diff
--- a/loadtools/Makefile	Tue Apr 30 21:35:14 2013 +0000
+++ b/loadtools/Makefile	Wed May 01 02:43:17 2013 +0000
@@ -1,8 +1,14 @@
 CC=	gcc
 CFLAGS=	-O2
-OBJS=	hexdecode.o sercomm.o srecreader.o ttypassthru.o
+PROGS=	fc-sertool
+
+SERTOOL_OBJS=	hexdecode.o romload.o sercomm.o sertool.o srecreader.o \
+		ttypassthru.o
 
-all:	${OBJS}
+all:	${PROGS}
+
+fc-sertool:	${SERTOOL_OBJS}
+	${CC} -o $@ ${SERTOOL_OBJS}
 
 clean:
-	rm -f *.o *.out *errs
+	rm -f *.o *.out *errs ${PROGS}