view pads2gpcb/Makefile @ 63:455a0051f9d2

pads2gpcb: PARTTYPE parsing implemented, compiles
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 31 Jan 2016 07:32:08 +0000
parents 9d7e2937883d
children 2b71943a311b
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
OBJS=	decals.o globals.o gpcbout.o main.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}