comparison miscutil/Makefile @ 271:cd043e690621

imei-luhn utility written
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 07 Feb 2014 05:00:24 +0000
parents
children 3822f3b198d4
comparison
equal deleted inserted replaced
270:d1388095ab27 271:cd043e690621
1 CC= gcc
2 CFLAGS= -O2
3 PROGS= imei-luhn
4 INSTBIN=/usr/local/bin
5
6 all: ${PROGS}
7
8 ${PROGS}:
9 ${CC} ${CFLAGS} -o $@ $@.c
10
11 imei-luhn: imei-luhn.c
12
13 install: ${PROGS}
14 mkdir -p ${INSTBIN}
15 install -c ${PROGS} ${INSTBIN}
16
17 clean:
18 rm -f ${PROGS} *.o *errs *.out