Fix up line endings, add libxpwn.c that was necessary, made Makefile generate DOS readmes for Windows, fixed up some includes
This commit is contained in:
Родитель
d42404ab5c
Коммит
6bf5301c16
5
Makefile
5
Makefile
|
@ -37,8 +37,8 @@ install-win: ipsw-patch/pch xpwn/xpwn
|
|||
cp xpwn/ramdisk.dmg xpwn-build/ramdisk.dmg
|
||||
cp -R ipsw-patch/FirmwareBundles xpwn-build/FirmwareBundles
|
||||
cp -R ipsw-patch/bundles xpwn-build/bundles
|
||||
cp README.markdown xpwn-build/README.txt
|
||||
cp LICENSE xpwn-build/LICENSE.txt
|
||||
sed "`echo s/$$/\\\r`/" README.markdown > xpwn-build/README.txt
|
||||
sed "`echo s/$$/\\\r`/" LICENSE > xpwn-build/LICENSE.txt
|
||||
cd xpwn-build; zip -r ../xpwn-windows.zip *
|
||||
|
||||
clean:
|
||||
|
@ -73,3 +73,4 @@ dist-clean: clean
|
|||
-rm dmg/zlib-1.2.3/contrib/minizip/*.o
|
||||
-rm ipsw-patch/bzip2-1.0.5/*.exe
|
||||
-rm -rf xpwn-build
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ CFLAGS=-O3
|
|||
|
||||
LIBUSB=`if $(CC) ../win32test.c -o /dev/null 2>/dev/null ; then echo "../libusb-0.1.12/.libs/libusb.a"; else echo "../libusb-win32/libusb.a"; fi`
|
||||
LIBUSBH=`if $(CC) win32test.c -o /dev/null 2>/dev/null ; then echo "-I./libusb-0.1.12/"; else echo "-I./libusb-win32/src/"; fi`
|
||||
INC=-I./include/ $(LIBUSBH)
|
||||
INC=-I./include/ $(LIBUSBH) -I../hfs -I../dmg
|
||||
|
||||
SRCDIR=src
|
||||
OBJDIR=build
|
||||
|
|
Загрузка…
Ссылка в новой задаче