view miscutil/Makefile @ 320:397b22c607c8

gsm-fw/gpf/misc/*.c: import from Leonardo semi-src
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 12 Apr 2014 07:59:49 +0000
parents cd043e690621
children 3822f3b198d4
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	imei-luhn
INSTBIN=/usr/local/bin

all:	${PROGS}

${PROGS}:
	${CC} ${CFLAGS} -o $@ $@.c

imei-luhn:	imei-luhn.c

install:	${PROGS}
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}

clean:
	rm -f ${PROGS} *.o *errs *.out