view pads2gpcb/Makefile @ 73:bdfd0b802bb0

pads2gpcb/main.c: preparations for main output of named and placed elements
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Mon, 01 Feb 2016 00:29:36 +0000
parents a9a20c85140e
children 58f11f06d831
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
OBJS=	decals.o fpmanip.o globals.o gpcbout.o main.o partinst.o parttype.o \
	rdunits.o readpads.o silkselect.o util.o writeelem.o
HDRS=	globals.h gpcbout.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}