view rvinterf/asyncshell/Makefile @ 19:c6469ecfea56

fc-fsio: '+' in the getopt string so ls -l single op command will work
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 22 Oct 2016 04:42:57 +0000
parents 971906d7763d
children 43e4c95d148a
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I../include
PROG=	fc-shell
OBJS=	at.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}