view pads2gpcb/Makefile @ 154:2328205328a9 default tip

m4-fp: WR-FPC 1mm pitch FFC/FPC connectors
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 25 Oct 2022 07:36:09 +0000
parents 959df5ddf7a2
children
line wrap: on
line source

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