diff options
| author | 2012-07-05 02:49:08 +0200 | |
|---|---|---|
| committer | 2012-07-05 02:49:08 +0200 | |
| commit | 12330b0dfe05df6a288e3d9e13588551bff5c6a0 (patch) | |
| tree | ad9bf3784b393f826e78e2c694923dcdfdf04e4d /Makefile | |
| parent | 0114b24c999f705fcb69b539482dd45350479010 (diff) | |
| download | libirecovery-12330b0dfe05df6a288e3d9e13588551bff5c6a0.tar.gz libirecovery-12330b0dfe05df6a288e3d9e13588551bff5c6a0.tar.bz2 | |
Makefile: fix mingw building
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -29,9 +29,9 @@ ifeq ($(UNAME),Darwin) | |||
| 29 | else | 29 | else |
| 30 | ifeq ($(UNAME),MINGW32_NT-5.1) | 30 | ifeq ($(UNAME),MINGW32_NT-5.1) |
| 31 | CFLAGS = -O3 -I include -I c:\mingw\include | 31 | CFLAGS = -O3 -I include -I c:\mingw\include |
| 32 | LDFLAGS = -L c:\mingw\lib -lreadline | 32 | LDFLAGS = -L c:\mingw\lib -L c:\mingw\bin |
| 33 | LIBS = -lreadline -lusb-1.0 -framework CoreFoundation -framework IOKit | 33 | LIBS = -lreadline -lusb-1.0 -lsetupapi |
| 34 | 34 | ||
| 35 | IRECOVERY_TARGET = irecovery.exe | 35 | IRECOVERY_TARGET = irecovery.exe |
| 36 | IRECOVERY_OBJECTS = irecovery.o | 36 | IRECOVERY_OBJECTS = irecovery.o |
| 37 | IRECOVERY_CFLAGS = $(CFLAGS) | 37 | IRECOVERY_CFLAGS = $(CFLAGS) |
| @@ -98,4 +98,4 @@ all: $(TARGETS) | |||
| 98 | 98 | ||
| 99 | 99 | ||
| 100 | clean: | 100 | clean: |
| 101 | $(RM) $(LIBIRECOVERY_STATIC_TARGET) $(IRECOVERY_TARGET) *.o \ No newline at end of file | 101 | $(RM) $(LIBIRECOVERY_STATIC_TARGET) $(IRECOVERY_TARGET) *.o |
