view ueda/unet-utils/Makefile @ 33:2af4a85daf89

unet2pads program written, compiles
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 08 Aug 2015 23:06:59 +0000
parents 7e8a2cb54b6b
children 47b5b8310cac
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	unet-destar unet2pads
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
unet2pads:	unet2pads.o