]> cloudbase.mooo.com Git - irmp.git/blobdiff - makefile.lnx
Version 2.2.4: added BOSE protocol
[irmp.git] / makefile.lnx
index 3b774d4e65a7a3e3a088ab4d8a5d0cdd6e90697d..cbc31489c16c0d1aebd45b1de9bdebc1e1035bba 100644 (file)
@@ -1,27 +1,36 @@
-#----------------------------------------------------------------------------\r
-# Makefile for Linux\r
-#\r
-# usage:\r
-#\r
-#        make -f makefile.lnx [irmp] [irsnd]\r
-#\r
-# Copyright (c) 2010 Frank Meyer - frank(at)fli4l.de\r
-#\r
-# $Id: makefile.lnx,v 1.5 2010/06/08 23:34:14 fm Exp $\r
-#----------------------------------------------------------------------------\r
-all:   irmp irmp-15kHz irsnd irsnd-15kHz\r
-\r
-irmp: irmp.c irmp.h irmpconfig.h\r
-       cc -Wall -DF_INTERRUPTS=10000 irmp.c -o irmp\r
-\r
-irmp-15kHz: irmp.c irmp.h irmpconfig.h\r
-       cc -Wall -DF_INTERRUPTS=15000 irmp.c -o irmp-15kHz\r
-\r
-irsnd: irsnd.c irsnd.h irmp.h irsndconfig.h\r
-       cc -Wall -DF_INTERRUPTS=10000 irsnd.c -o irsnd\r
-\r
-irsnd-15kHz: irsnd.c irsnd.h irmp.h irsndconfig.h\r
-       cc -Wall -DF_INTERRUPTS=15000 irsnd.c -o irsnd-15kHz\r
-\r
-clean:\r
-       rm -f irmp irmp-15kHz irsnd irsnd-15kHz\r
+#----------------------------------------------------------------------------
+# Makefile for Linux
+#
+# usage:
+#
+#        make -f makefile.lnx [irmp] [irsnd]
+#
+# Copyright (c) 2010 Frank Meyer - frank(at)fli4l.de
+#
+# $Id: makefile.lnx,v 1.6 2010/06/11 14:47:24 fm Exp $
+#----------------------------------------------------------------------------
+all:   irmp irmp-15kHz irmp-20kHz irsnd irsnd-15kHz irsnd-20kHz
+
+irmp: irmp.c irmp.h irmpconfig.h irmpsystem.h irmpprotocols.h
+       cc -Wall -DF_INTERRUPTS=10000 irmp.c -o irmp
+
+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: irsnd.c irsnd.h irmp.h irsndconfig.h irmpsystem.h irmpprotocols.h
+       cc -Wall -DF_INTERRUPTS=10000 irsnd.c -o irsnd
+
+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 irmp-15kHz irmp-20kHz irsnd irsnd-15kHz irsnd-20kHz