view pads2gpcb/Makefile @ 46:c81aba92cb5e

pads2gpcb: generic element writing implemented
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sat, 30 Jan 2016 07:56:18 +0000
parents 3bdb1b5ff3d0
children 9d7e2937883d
line wrap: on
line source

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