diff loadtools/Makefile @ 30:af6d763badfb

loadtools: install target added
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 04 May 2013 07:23:01 +0000
parents dacf45e3d20f
children 05af070c4b60
line wrap: on
line diff
--- a/loadtools/Makefile	Sat May 04 07:15:51 2013 +0000
+++ b/loadtools/Makefile	Sat May 04 07:23:01 2013 +0000
@@ -1,6 +1,9 @@
 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
@@ -17,5 +20,9 @@
 fc-loadtool:	${LOADTOOL_OBJS}
 	${CC} -o $@ ${LOADTOOL_OBJS}
 
+install:
+	#install -c ${PROGS} ${INSTBIN}
+	install -c ${SCRIPTS} ${INSTSCR}
+
 clean:
 	rm -f *.o *.out *errs ${PROGS}