view loadtools/Makefile @ 28:768a3d012931

loadtool: default exit mode setting implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 04 May 2013 06:39:05 +0000
parents ae6294b8a015
children dacf45e3d20f
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
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 ltexit.o ltmain.o \
		ltpassthru.o romload.o sercomm.o srecreader.o tpinterf.o

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}