forked from chinchan54/ps3-cloud-drive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun
24 lines (21 loc) · 773 Bytes
/
run
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# make -f run
#
#
##################################################################################
TARGET := $(notdir $(CURDIR))
OUTPUT := $(CURDIR)/$(TARGET)
ts := $(shell /bin/date +%s)
DEBUG_LOG := logs/debug_$(ts).log
## use timeout long enough to cover emulator startup ppu module compilation for new pkg
DEBUG_LISTEN_TIMEOUT := 180
#---------------------------------------------------------------------------------
.PHONY: debug run
run: debug
@echo $(OUTPUT).self
rpcs3 --no-gui $(OUTPUT).self &
##temporary fix limits
##sudo sh -c "ulimit -l unlimited && exec su colt -c 'rpcs3 --no-gui $(OUTPUT).elf'" &
debug:
@echo Starting ncat debug logger listener...
timeout $(DEBUG_LISTEN_TIMEOUT) ncat --udp --listen -p 18194 --recv-only -o $(DEBUG_LOG) &