view pads2gpcb/Makefile @ 38:aa0539cc3d41

pads2gpcb project started, skeleton compiles
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Mon, 11 Jan 2016 04:56:51 +0000
parents
children 1c37bec20596
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
OBJS=	globals.o main.o rdunits.o readpads.o
PROG=	pads2gpcb
BINDIR=	/usr/local/bin

all:	${PROG}

${PROG}:	${OBJS}
	${CC} -o $@ ${OBJS}

install:
	install -c -o bin -g bin -m 755 ${PROG} ${BINDIR}

clean:
	rm -f *.o a.out core errs ${PROG}