view rvinterf/old/g23sh/Makefile @ 23:10b71f01f4ff

doc/Host-tools-overview updated for the current state of the tools
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 22 Oct 2016 17:16:21 +0000
parents e7502631a0f9
children
line wrap: on
line source

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