diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pads2gpcb/Makefile	Mon Jan 11 04:56:51 2016 +0000
@@ -0,0 +1,16 @@
+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}