view rvinterf/asyncshell/Makefile @ 872:5e46679bdb6a

fc-shell skeleton created
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 30 May 2015 06:42:32 +0000
parents
children 72d64c172d85
line wrap: on
line source

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