view pads2gpcb/Makefile @ 43:4a50888d09ce

pads2gpcb: handle error cases when the default pad is defined, but failed
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 30 Jan 2016 05:39:52 +0000
parents a2d304ec3817
children 3bdb1b5ff3d0
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
OBJS=	decals.o globals.o main.o rdunits.o readpads.o
HDRS=	globals.h struct.h
PROG=	pads2gpcb
BINDIR=	/usr/local/bin

all:	${PROG}

${PROG}:	${OBJS}
	${CC} -o $@ ${OBJS}

${OBJS}:	${HDRS}

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

clean:
	rm -f *.o a.out core errs ${PROG}