view loadtools/Makefile @ 31:358785799844

loadtool scripting: cosmetic buglet
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 04 May 2013 07:25:39 +0000
parents af6d763badfb
children 05af070c4b60
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	fc-loadtool fc-sertool
SCRIPTS=scripts/pirelli.config scripts/pirelli.init
INSTBIN=/usr/local/bin
INSTSCR=/usr/local/share/freecalypso

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 ltscript.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}

install:
	#install -c ${PROGS} ${INSTBIN}
	install -c ${SCRIPTS} ${INSTSCR}

clean:
	rm -f *.o *.out *errs ${PROGS}