all: send send: RCSwitch.o send.o $(CXX) $(CXXFLAGS) $(LDFLAGS) $+ -o $@ -lwiringPi clean: $(RM) *.o send