summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-07-05 02:49:08 +0200
committerGravatar Nikias Bassen2012-07-05 02:49:08 +0200
commit12330b0dfe05df6a288e3d9e13588551bff5c6a0 (patch)
treead9bf3784b393f826e78e2c694923dcdfdf04e4d /Makefile
parent0114b24c999f705fcb69b539482dd45350479010 (diff)
downloadlibirecovery-12330b0dfe05df6a288e3d9e13588551bff5c6a0.tar.gz
libirecovery-12330b0dfe05df6a288e3d9e13588551bff5c6a0.tar.bz2
Makefile: fix mingw building
Diffstat (limited to 'Makefile')
-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