2 # Defines the RPI variable which is needed by rc-switch/RCSwitch.h
5 all: send codesend RFSniffer
7 send: ../rc-switch/RCSwitch.o send.o
8 $(CXX) $(CXXFLAGS) $(LDFLAGS) $+ -o $@ -lwiringPi -lwiringPiDev -lcrypt
10 codesend: ../rc-switch/RCSwitch.o codesend.o
11 $(CXX) $(CXXFLAGS) $(LDFLAGS) $+ -o $@ -lwiringPi -lwiringPiDev -lcrypt
13 RFSniffer: ../rc-switch/RCSwitch.o RFSniffer.o
14 $(CXX) $(CXXFLAGS) $(LDFLAGS) $+ -o $@ -lwiringPi -lwiringPiDev -lcrypt
16 433rx: ../rc-switch/RCSwitch.o 433rx.o
17 $(CXX) $(CXXFLAGS) $(LDFLAGS) $+ -o $@ -lwiringPi -lwiringPiDev -lcrypt
20 $(RM) ../rc-switch/*.o *.o send codesend servo RFSniffer