forked from iDroid-Project/openiBoot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
43 lines (33 loc) · 725 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
31
32
33
34
35
36
37
38
39
40
41
42
43
ifeq ($(PLATFORM),IPHONE2G)
TARGET = iphone_2g_openiboot.img3
endif
ifeq ($(PLATFORM),IPHONE3G)
TARGET = iphone_3g_openiboot.img3
endif
ifeq ($(PLATFORM),IPT1G)
TARGET = ipt_1g_openiboot.img3
endif
ifeq ($(PLATFORM),IPT2G)
TARGET = ipt_2g_openiboot.img3
endif
ifeq ($(PLATFORM),IPHONE4)
TARGET = iphone_4_openiboot.bin
endif
ifeq ($(PLATFORM),IPAD1G)
TARGET = ipad_1g_openiboot.bin
endif
ifeq ($(PLATFORM),IPT4G)
TARGET = ipt_4g_openiboot.bin
endif
ifeq ($(PLATFORM),ATV2G)
TARGET = atv_2g_openiboot.bin
endif
all:
scons $(TARGET)
clean:
scons -c *
@cd ../utils/syringe; make clean_all
@cd ../utils/oibc; make clean
install:
make -C ../utils/syringe
sudo ../utils/syringe/utilities/loadibec $(TARGET)