view rvinterf/asyncshell/Makefile @ 1021:8b52011dc66a

doc/Pirelli-Howto: update for the current situation
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 23 Apr 2016 06:19:09 +0000
parents 0511507bf6e7
children 71bbddbcc6a1
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 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}