-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmakefile.lnx
43 lines (32 loc) · 1.47 KB
/
makefile.lnx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#----------------------------------------------------------------------------
# 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