view miscprog/Makefile @ 129:597143ba1c37

miscellaneous C programs moved out of the top level directory
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 06 Apr 2014 20:20:39 +0000
parents Makefile@3890c2672fe0
children 25b54c5ad6c2
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
STD=	atsc factdiff mokosrec2bin rfcap-grep
CRYPTO=	imeibrute pirimei
PROGS=	${STD} ${CRYPTO}

all:	${PROGS}

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

${CRYPTO}:
	${CC} ${CFLAGS} -o $@ $@.c -lcrypto

atsc:		atsc.c
factdiff:	factdiff.c
imeibrute:	imeibrute.c
mokosrec2bin:	mokosrec2bin.c
pirimei:	pirimei.c
rfcap-grep:	rfcap-grep.c

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