view pads2gpcb/Makefile @ 71:a3d47129ebdc

pads2gpcb: implemented mirroring and rotation of instantiated parts
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Mon, 01 Feb 2016 00:13:20 +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}