diff --git a/Makefile b/Makefile index 09c14f6..113b3fd 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,8 @@ all: @echo "Making deviceconsole..." - @$(CC) -O3 main.c tail.c -o deviceconsole -F/System/Library/PrivateFrameworks/ -framework MobileDevice -framework CoreFoundation - @mv ./deviceconsole /usr/local/bin + @$(CC) -O3 main.c tail.c -o deviceconsole -F./f/ -framework MobileDevice -framework CoreFoundation + @mv ./deviceconsole /usr/local/bin/ + @chmod +x /usr/local/bin/deviceconsole @echo "deviceconsole succesfully built and installed. :D" .PHONY: all diff --git a/MobileDevice.framework b/f/MobileDevice.framework similarity index 100% rename from MobileDevice.framework rename to f/MobileDevice.framework