forked from roothide/Dopamine2-roothide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
27 lines (21 loc) · 779 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
export NIGHTLY ?= 0
ifeq ($(NIGHTLY), 1)
export COMMIT_HASH = $(shell git rev-parse HEAD)
endif
all:
@$(MAKE) -C BaseBin
@$(MAKE) -C Packages
@$(MAKE) -C Application
clean:
@$(MAKE) -C BaseBin clean
@$(MAKE) -C Packages clean
@$(MAKE) -C Application clean
update: all
ssh $(DEVICE) "rm -rf /var/mobile/Documents/Dopamine.tipa"
scp -C ./Application/Dopamine.tipa "$(DEVICE):/var/mobile/Documents/Dopamine.tipa"
ssh $(DEVICE) "/basebin/jbctl update tipa \$(jbroot)/var/mobile/Documents/Dopamine.tipa"
update-basebin: all
ssh $(DEVICE) "rm -rf /var/mobile/Documents/basebin.tar"
scp -C ./BaseBin/basebin.tar "$(DEVICE):/var/mobile/Documents/basebin.tar"
ssh $(DEVICE) "/basebin/jbctl update basebin \$(jbroot)/var/mobile/Documents/basebin.tar"
.PHONY: update clean