comparison 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
comparison
equal deleted inserted replaced
29:dacf45e3d20f 30:af6d763badfb
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= fc-loadtool fc-sertool 3 PROGS= fc-loadtool fc-sertool
4 SCRIPTS=scripts/pirelli.config scripts/pirelli.init
5 INSTBIN=/usr/local/bin
6 INSTSCR=/usr/local/share/freecalypso
4 7
5 SERTOOL_OBJS= defpath.o hexdecode.o hwparam.o romload.o sercomm.o sertool.o \ 8 SERTOOL_OBJS= defpath.o hexdecode.o hwparam.o romload.o sercomm.o sertool.o \
6 srecreader.o ttypassthru.o 9 srecreader.o ttypassthru.o
7 10
8 LOADTOOL_OBJS= defpath.o hexdecode.o hwparam.o ltdispatch.o ltexit.o ltmain.o \ 11 LOADTOOL_OBJS= defpath.o hexdecode.o hwparam.o ltdispatch.o ltexit.o ltmain.o \
15 ${CC} -o $@ ${SERTOOL_OBJS} 18 ${CC} -o $@ ${SERTOOL_OBJS}
16 19
17 fc-loadtool: ${LOADTOOL_OBJS} 20 fc-loadtool: ${LOADTOOL_OBJS}
18 ${CC} -o $@ ${LOADTOOL_OBJS} 21 ${CC} -o $@ ${LOADTOOL_OBJS}
19 22
23 install:
24 #install -c ${PROGS} ${INSTBIN}
25 install -c ${SCRIPTS} ${INSTSCR}
26
20 clean: 27 clean:
21 rm -f *.o *.out *errs ${PROGS} 28 rm -f *.o *.out *errs ${PROGS}