-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
30 lines (25 loc) · 857 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
run: loader.dylib
sudo osxinj "Geometry Dash" loader.dylib
boost:
gcc boost.c -dynamiclib -o loader.dylib
loader.dylib: MKit.a
nasm -fmacho64 -i/users/jakrillis/asminclude disp.asm
gcc disp.o combine.m MKit.a alert.m -dynamiclib -g -o loader.dylib -framework ApplicationServices -framework Cocoa -framework AVFoundation -O0 -Wno-int-conversion -Wno-incompatible-pointer-types
MKit.a: rd_route.o MKit.o
ar rcs $@ $^ $<
rd_route.o: MKit/rd_route.c MKit/rd_route.h
gcc -c -o $@ $<
MKit.o: MKit/MKit.c MKit/MKit.h
gcc -c -o $@ $<
clean:
rm *.o loader.dylib
restart: loader.dylib
pkill Geometry Dash || echo 0
open -a GDCracked
push:
git add .
git rm --cached loader.dylib || echo 0
git rm --cached *.o || echo 0
git rm -r --cached osXbot.zip osXbot.app *.dSYM
git commit -m "$(shell bash -c 'read -p "Message: " pwd; echo $$pwd')"
git push