view scripts/Makefile @ 105:44c6a2b4d40a

INSTALL: we need fc-host-tools-r6 or later for ERROR_RFFAIL
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 Dec 2017 07:07:19 +0000
parents 713749548df6
children fd856f729618
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	fc-rfcal-tee
SCRIPTS=fc-rfcal-tri900
INSTBIN=/opt/freecalypso/bin

all:	${PROGS}

fc-rfcal-tee:	fc-rfcal-tee.c
	${CC} ${CFLAGS} -o $@ $@.c

install:
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${SCRIPTS} ${INSTBIN}

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