added pcsx2 to makefile (by wsl)
Signed-off-by: h4570 <sandro.sobczynski@gmail.com>
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
EE_BIN = cube.elf
|
EE_BIN = cube.elf
|
||||||
|
|
||||||
TYRA_DIR = ./../../engine
|
TYRA_DIR = ./../../engine
|
||||||
|
PCSX2_PATH = /mnt/c/Program\ Files\ \(x86\)/PCSX2/pcsx2.exe
|
||||||
|
WSL_TYRA_PATH = \\\\wsl$$\\PS2-DEV\\repos\\tyra
|
||||||
|
|
||||||
EE_OBJS = \
|
EE_OBJS = \
|
||||||
objects/cube.o \
|
objects/cube.o \
|
||||||
@@ -18,6 +20,9 @@ all: $(EE_BIN)
|
|||||||
rebuild-engine:
|
rebuild-engine:
|
||||||
cd $(TYRA_DIR) && make clean && make
|
cd $(TYRA_DIR) && make clean && make
|
||||||
|
|
||||||
|
rebuild-dbg-engine:
|
||||||
|
cd $(TYRA_DIR) && make clean && make debug
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(EE_OBJS)
|
rm -f $(EE_OBJS)
|
||||||
|
|
||||||
@@ -30,4 +35,8 @@ run: $(EE_BIN)
|
|||||||
rm $(EE_OBJS)
|
rm $(EE_OBJS)
|
||||||
cd bin/ && ps2client execee host:$(EE_BIN)
|
cd bin/ && ps2client execee host:$(EE_BIN)
|
||||||
|
|
||||||
|
run-pcsx2:
|
||||||
|
taskkill.exe /f /t /im pcsx2.exe || true
|
||||||
|
$(PCSX2_PATH) --elf=$(WSL_TYRA_PATH)\\src\\samples\\cube\\bin\\cube.elf
|
||||||
|
|
||||||
include $(TYRA_DIR)/Makefile.pref
|
include $(TYRA_DIR)/Makefile.pref
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
EE_BIN = dolphin.elf
|
EE_BIN = dolphin.elf
|
||||||
|
|
||||||
TYRA_DIR = ./../../engine
|
TYRA_DIR = ./../../engine
|
||||||
|
PCSX2_PATH = /mnt/c/Program\ Files\ \(x86\)/PCSX2/pcsx2.exe
|
||||||
|
WSL_TYRA_PATH = \\\\wsl$$\\PS2-DEV\\repos\\tyra
|
||||||
|
|
||||||
EE_OBJS = \
|
EE_OBJS = \
|
||||||
camera.o \
|
camera.o \
|
||||||
@@ -18,6 +20,9 @@ all: $(EE_BIN)
|
|||||||
rm $(EE_OBJS)
|
rm $(EE_OBJS)
|
||||||
|
|
||||||
rebuild-engine:
|
rebuild-engine:
|
||||||
|
cd $(TYRA_DIR) && make clean && make EE_CXXFLAGS="-DNDEBUG $(EE_CXXFLAGS)"
|
||||||
|
|
||||||
|
rebuild-dbg-engine:
|
||||||
cd $(TYRA_DIR) && make clean && make
|
cd $(TYRA_DIR) && make clean && make
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@@ -32,4 +37,8 @@ run: $(EE_BIN)
|
|||||||
rm $(EE_OBJS)
|
rm $(EE_OBJS)
|
||||||
cd bin/ && ps2client execee host:$(EE_BIN)
|
cd bin/ && ps2client execee host:$(EE_BIN)
|
||||||
|
|
||||||
|
run-pcsx2:
|
||||||
|
taskkill.exe /f /t /im pcsx2.exe || true
|
||||||
|
$(PCSX2_PATH) --elf=$(WSL_TYRA_PATH)\\src\\samples\\dolphin\\bin\\dolphin.elf
|
||||||
|
|
||||||
include $(TYRA_DIR)/Makefile.pref
|
include $(TYRA_DIR)/Makefile.pref
|
||||||
|
|||||||
@@ -24,6 +24,9 @@ all: $(EE_BIN)
|
|||||||
rebuild-engine:
|
rebuild-engine:
|
||||||
cd $(TYRA_DIR) && make clean && make
|
cd $(TYRA_DIR) && make clean && make
|
||||||
|
|
||||||
|
rebuild-dbg-engine:
|
||||||
|
cd $(TYRA_DIR) && make clean && make debug
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(EE_OBJS)
|
rm -f $(EE_OBJS)
|
||||||
|
|
||||||
@@ -36,4 +39,8 @@ run: $(EE_BIN)
|
|||||||
rm $(EE_OBJS)
|
rm $(EE_OBJS)
|
||||||
cd bin/ && ps2client execee host:$(EE_BIN)
|
cd bin/ && ps2client execee host:$(EE_BIN)
|
||||||
|
|
||||||
|
run-pcsx2:
|
||||||
|
taskkill.exe /f /t /im pcsx2.exe || true
|
||||||
|
$(PCSX2_PATH) --elf=$(WSL_TYRA_PATH)\\src\\samples\\floors\\bin\\floors.elf
|
||||||
|
|
||||||
include $(TYRA_DIR)/Makefile.pref
|
include $(TYRA_DIR)/Makefile.pref
|
||||||
|
|||||||
@@ -34,7 +34,6 @@ run-pcsx2:
|
|||||||
taskkill.exe /f /t /im pcsx2.exe || true
|
taskkill.exe /f /t /im pcsx2.exe || true
|
||||||
$(PCSX2_PATH) --elf=$(WSL_TYRA_PATH)\\src\\unit_tests\\bin\\unit_tests.elf
|
$(PCSX2_PATH) --elf=$(WSL_TYRA_PATH)\\src\\unit_tests\\bin\\unit_tests.elf
|
||||||
|
|
||||||
|
|
||||||
show:
|
show:
|
||||||
cat bin/test-result.txt
|
cat bin/test-result.txt
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user