-
Notifications
You must be signed in to change notification settings - Fork 1
/
makefile
26 lines (20 loc) · 810 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
all:
mkdir -p release
gcc -DNO_COMPRESSION main.c -Ofast -lm -lSDL2 -lGLESv2 -lEGL -o release/pro
strip --strip-unneeded release/pro
upx --lzma --best release/pro
gcc main.c -Ofast -lm -lz -lSDL2 -lGLESv2 -lEGL -o release/pro_compressed
strip --strip-unneeded release/pro_compressed
upx --lzma --best release/pro_compressed
gcc -DNO_COMPRESSION -DSKYBLUE main.c -Ofast -lm -lSDL2 -lGLESv2 -lEGL -o release/prosky
strip --strip-unneeded release/prosky
upx --lzma --best release/prosky
gcc -DSKYBLUE main.c -Ofast -lm -lz -lSDL2 -lGLESv2 -lEGL -o release/prosky_compressed
strip --strip-unneeded release/prosky_compressed
upx --lzma --best release/prosky_compressed
test:
gcc -DNO_COMPRESSION main.c -Ofast -lm -lSDL2 -lGLESv2 -lEGL -o pro_test
./pro_test
rm pro_test
clean:
rm -r release