diff --git a/Makefile b/Makefile
index d0c2f93..93fdd88 100644
--- a/Makefile
+++ b/Makefile
@@ -57,8 +57,7 @@ ifeq (default,$(origin CC))
   CC = gcc
 endif
 
-LIBS += -lsetupapi -Wl,--enable-auto-import -static-libgcc -static-libstdc++
-OBJS = $(HIDAPI_DIR)/windows/hid.o
+LIBS += -lsetupapi -lhidapi -Wl,--enable-auto-import
 EXE=.exe
 
 endif
