view ueda/unet-utils/Makefile @ 24:7e8a2cb54b6b

started implementing unet-destar
author Space Falcon <falcon@ivan.Harhan.ORG>
date Thu, 06 Aug 2015 20:20:11 +0000
parents
children 2af4a85daf89
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	unet-destar
LIBUNET=../libunet/libunet.a
BINDIR=	/usr/local/bin

all:	${PROGS}

${PROGS}:	${LIBUNET}
	${CC} ${CFLAGS} -o $@ $@.o ${LIBUNET}

install:
	install -c -o bin -g bin -m 755 ${PROGS} ${BINDIR}

clean:
	rm -f *.[ao] a.out core errs ${PROGS}

unet-destar:	unet-destar.o