view rvinterf/asyncshell/Makefile @ 3:6a029ad28212

doc/Compiling: updated for the split between freecalypso-tools and Citrine
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Jun 2016 01:52:51 +0000
parents e7502631a0f9
children 971906d7763d
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I../include
PROG=	fc-shell
OBJS=	at.o gsm0610.o init.o main.o oneshot.o parse.o pktsort.o poweroff.o \
	rxctl.o sendarb.o sendsp.o tchcmd.o tchplay.o tchrec.o usercmd.o
LIBS=	../libasync/libasync.a ../libg23/libg23.a
INSTBIN=/usr/local/bin

all:	${PROG}

${PROG}: ${OBJS} ${LIBS}
	${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS}

install:	${PROG}
	mkdir -p ${INSTBIN}
	install -c ${PROG} ${INSTBIN}

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