comparison autocal/Makefile @ 32:ea1d9f7f625f

autocal/Makefile: make install added
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 23 May 2017 00:11:16 +0000
parents 0b6881281d86
children dcf7cd305e2b
comparison
equal deleted inserted replaced
31:6e8f2728c7f5 32:ea1d9f7f625f
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 -I/opt/freecalypso/include 2 CFLAGS= -O2 -I/opt/freecalypso/include
3 PROGS= fc-rfcal-vcxo 3 PROGS= fc-rfcal-vcxo
4 INSTBIN=/opt/freecalypso/bin
4 5
5 VCXO_OBJS= l1tmops.o rvinterf.o sockopts.o tsidsock.o vcxomain.o vcxomeas.o 6 VCXO_OBJS= l1tmops.o rvinterf.o sockopts.o tsidsock.o vcxomain.o vcxomeas.o
6 7
7 all: ${PROGS} 8 all: ${PROGS}
8 9
9 fc-rfcal-vcxo: ${VCXO_OBJS} 10 fc-rfcal-vcxo: ${VCXO_OBJS}
10 ${CC} -o $@ ${VCXO_OBJS} 11 ${CC} -o $@ ${VCXO_OBJS}
11 12
13 install:
14 mkdir -p ${INSTBIN}
15 install -c ${PROGS} ${INSTBIN}
16
12 clean: 17 clean:
13 rm -f *.o *.out *errs 18 rm -f *.o *.out *errs ${PROGS}