view miscutil/Makefile @ 389:e60aecf23970

target-utils: ABB operations implemented (ported from OsmocomBB), linked into pirexplore
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 11 Jun 2014 06:50:46 +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