X-Git-Url: http://cloudbase.mooo.com/gitweb/irmp.git/blobdiff_plain/1359aeaf41c82f3f9783273afd9e7d472df2594b..66f8fd9354d919880cc818da81ce9ad13c4002b9:/makefile.lnx diff --git a/makefile.lnx b/makefile.lnx index 8f9bcd3..d3b9b59 100644 --- a/makefile.lnx +++ b/makefile.lnx @@ -1,18 +1,43 @@ -#---------------------------------------------------------------------------- -# Makefile for Linux -# -# usage: -# -# make -f makefile.lnx [irmp] [irsnd] -# -# Copyright (c) 2010 Frank Meyer - frank(at)fli4l.de -# -# $Id: makefile.lnx,v 1.3 2010/05/26 08:34:30 fm Exp $ -#---------------------------------------------------------------------------- -all: irmp irsnd - -irmp: irmp.c irmp.h irmpconfig.h - cc -Wall irmp.c -o irmp - -irsnd: irsnd.c irsnd.h irmp.h irsndconfig.h - cc -Wall irsnd.c -o irsnd +#---------------------------------------------------------------------------- +# Makefile for Linux +# +# usage: +# +# make -f makefile.lnx [all | [all-irmp | all-irsnd] +# +# Copyright (c) 2010-2012 Frank Meyer - frank(at)fli4l.de +# +# $Id: makefile.lnx,v 1.6 2010/06/11 14:47:24 fm Exp $ +#---------------------------------------------------------------------------- +all: all-irmp all-irsnd + +all-irmp: irmp-10kHz irmp-15kHz irmp-20kHz + +all-irsnd: irsnd-10kHz irsnd-15kHz irsnd-20kHz + +irmp-10kHz: irmp.c irmp.h irmpconfig.h irmpsystem.h irmpprotocols.h + cc -Wall -DF_INTERRUPTS=10000 irmp.c -o irmp-10kHz + +irmp-11718Hz: irmp.c irmp.h irmpconfig.h irmpsystem.h irmpprotocols.h + cc -Wall -DF_INTERRUPTS=11718 irmp.c -o irmp-11718Hz + +irmp-15kHz: irmp.c irmp.h irmpconfig.h irmpsystem.h irmpprotocols.h + cc -Wall -DF_INTERRUPTS=15000 irmp.c -o irmp-15kHz + +irmp-20kHz: irmp.c irmp.h irmpconfig.h irmpsystem.h irmpprotocols.h + cc -Wall -DF_INTERRUPTS=20000 irmp.c -o irmp-20kHz + +irsnd-10kHz: irsnd.c irsnd.h irmp.h irsndconfig.h irmpsystem.h irmpprotocols.h + cc -Wall -DF_INTERRUPTS=10000 irsnd.c -o irsnd-10kHz + +irsnd-15kHz: irsnd.c irsnd.h irmp.h irsndconfig.h irmpsystem.h irmpprotocols.h + cc -Wall -DF_INTERRUPTS=15000 irsnd.c -o irsnd-15kHz + +irsnd-20kHz: irsnd.c irsnd.h irmp.h irsndconfig.h irmpsystem.h irmpprotocols.h + cc -Wall -DF_INTERRUPTS=20000 irsnd.c -o irsnd-20kHz + +test: all + cd IR-Data && ./test-suite.sh + +clean: + rm -f irmp-10kHz irmp-15kHz irmp-20kHz irsnd-10kHz irsnd-15kHz irsnd-20kHz