all : hidtest hidtest.exe hidtest.exe : hidtest.c hid-windows.c i686-w64-mingw32-gcc -o $@ $^ $(CFLAGS) -lsetupapi hidtest : hidtest.o hid-linux.o g++ -o $@ $^ -lusb-1.0 -ludev clean : rm -rf *.o *~ hidtest