summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 941dfdd..eece850 100644
--- a/Makefile
+++ b/Makefile
@@ -29,9 +29,9 @@ ifeq ($(UNAME),Darwin)
else
ifeq ($(UNAME),MINGW32_NT-5.1)
CFLAGS = -O3 -I include -I c:\mingw\include
- LDFLAGS = -L c:\mingw\lib -lreadline
- LIBS = -lreadline -lusb-1.0 -framework CoreFoundation -framework IOKit
-
+ LDFLAGS = -L c:\mingw\lib -L c:\mingw\bin
+ LIBS = -lreadline -lusb-1.0 -lsetupapi
+
IRECOVERY_TARGET = irecovery.exe
IRECOVERY_OBJECTS = irecovery.o
IRECOVERY_CFLAGS = $(CFLAGS)
@@ -98,4 +98,4 @@ all: $(TARGETS)
clean:
- $(RM) $(LIBIRECOVERY_STATIC_TARGET) $(IRECOVERY_TARGET) *.o \ No newline at end of file
+ $(RM) $(LIBIRECOVERY_STATIC_TARGET) $(IRECOVERY_TARGET) *.o