view rvinterf/asyncshell/Makefile @ 889:1b1683cda154

fc-shell: implemented poweroff and tgtreset commands
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 28 Jun 2015 16:52:06 +0000
parents 4661b84260a0
children bd873572ef2c
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2 -I../include
PROG=	fc-shell
OBJS=	at.o init.o main.o pktsort.o poweroff.o rxctl.o sendsp.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}