view rvinterf/old/g23sh/Makefile @ 769:f18db0f00ad8

target-utils: simagent application started
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 12 Mar 2021 06:40:24 +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}