comparison pads2gpcb/Makefile @ 40:1c37bec20596

pads2gpcb: slowly working on the decal processing logic
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Mon, 11 Jan 2016 08:12:40 +0000
parents aa0539cc3d41
children a2d304ec3817
comparison
equal deleted inserted replaced
39:242f73e61ef0 40:1c37bec20596
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 OBJS= globals.o main.o rdunits.o readpads.o 3 OBJS= globals.o main.o rdunits.o readpads.o
4 HDRS= globals.h struct.h
4 PROG= pads2gpcb 5 PROG= pads2gpcb
5 BINDIR= /usr/local/bin 6 BINDIR= /usr/local/bin
6 7
7 all: ${PROG} 8 all: ${PROG}
8 9
9 ${PROG}: ${OBJS} 10 ${PROG}: ${OBJS}
10 ${CC} -o $@ ${OBJS} 11 ${CC} -o $@ ${OBJS}
11 12
13 ${OBJS}: ${HDRS}
14
12 install: 15 install:
13 install -c -o bin -g bin -m 755 ${PROG} ${BINDIR} 16 install -c -o bin -g bin -m 755 ${PROG} ${BINDIR}
14 17
15 clean: 18 clean:
16 rm -f *.o a.out core errs ${PROG} 19 rm -f *.o a.out core errs ${PROG}