view ueda/unet-utils/Makefile @ 30:a93e4b07fdf3

unet-destar: pass attributes through
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 08 Aug 2015 21:23:19 +0000
parents 7e8a2cb54b6b
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