# Defines the RPI variable which is needed by rc-switch/RCSwitch.h CXXFLAGS=-DRPI all: send codesend RFSniffer send: ../rc-switch/RCSwitch.o send.o $(CXX) $(CXXFLAGS) $(LDFLAGS) $+ -o $@ -lwiringPi -lwiringPiDev -lcrypt codesend: ../rc-switch/RCSwitch.o codesend.o $(CXX) $(CXXFLAGS) $(LDFLAGS) $+ -o $@ -lwiringPi -lwiringPiDev -lcrypt RFSniffer: ../rc-switch/RCSwitch.o RFSniffer.o $(CXX) $(CXXFLAGS) $(LDFLAGS) $+ -o $@ -lwiringPi -lwiringPiDev -lcrypt 433rx: ../rc-switch/RCSwitch.o 433rx.o $(CXX) $(CXXFLAGS) $(LDFLAGS) $+ -o $@ -lwiringPi -lwiringPiDev -lcrypt clean: $(RM) ../rc-switch/*.o *.o send codesend servo RFSniffer