Permalink
Browse files

mostly works

  • Loading branch information...
1 parent 806ea39 commit d0f98477c3a1492f394685832b4598afff2f10cc @todbot committed Feb 29, 2012
Showing with 2,287 additions and 0 deletions.
  1. +16 −0 Makefile
  2. +1,292 −0 disphelper.c
  3. +731 −0 disphelper.h
  4. +162 −0 usbSearch.c
  5. BIN usbSearch.exe
  6. +86 −0 usbSearch.vbs
View
@@ -0,0 +1,16 @@
+#OS ?= LINUX
+OS ?= WINDOWS
+#OS ?= MACOSX
+#OS ?= BSD
+
+#CC = i586-mingw32msvc-gcc
+CC=gcc
+CFLAGS ?= -O2 -Wall -std=c99
+LIBS = -lhid -lsetupapi -lole32 -loleaut32 -luuid
+usbSearch.exe: usbSearch.c
+ $(CC) $(CFLAGS) -s -DUSE_WIN32 -o usbSearch.exe usbSearch.c disphelper.c $(LIBS)
+
+
+
+clean:
+ rm -f usbSearch usbSearch.exe
Oops, something went wrong.

0 comments on commit d0f9847

Please sign in to comment.