added pcsx2 to makefile (by wsl)

Signed-off-by: h4570 <sandro.sobczynski@gmail.com>
This commit is contained in:
h4570
2021-05-25 20:30:15 +02:00
parent 8b0233a45d
commit d0d7ed85e5
4 changed files with 25 additions and 1 deletions
+9
View File
@@ -1,6 +1,8 @@
EE_BIN = cube.elf
TYRA_DIR = ./../../engine
PCSX2_PATH = /mnt/c/Program\ Files\ \(x86\)/PCSX2/pcsx2.exe
WSL_TYRA_PATH = \\\\wsl$$\\PS2-DEV\\repos\\tyra
EE_OBJS = \
objects/cube.o \
@@ -18,6 +20,9 @@ all: $(EE_BIN)
rebuild-engine:
cd $(TYRA_DIR) && make clean && make
rebuild-dbg-engine:
cd $(TYRA_DIR) && make clean && make debug
clean:
rm -f $(EE_OBJS)
@@ -30,4 +35,8 @@ run: $(EE_BIN)
rm $(EE_OBJS)
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
+9
View File
@@ -1,6 +1,8 @@
EE_BIN = dolphin.elf
TYRA_DIR = ./../../engine
PCSX2_PATH = /mnt/c/Program\ Files\ \(x86\)/PCSX2/pcsx2.exe
WSL_TYRA_PATH = \\\\wsl$$\\PS2-DEV\\repos\\tyra
EE_OBJS = \
camera.o \
@@ -18,6 +20,9 @@ all: $(EE_BIN)
rm $(EE_OBJS)
rebuild-engine:
cd $(TYRA_DIR) && make clean && make EE_CXXFLAGS="-DNDEBUG $(EE_CXXFLAGS)"
rebuild-dbg-engine:
cd $(TYRA_DIR) && make clean && make
clean:
@@ -32,4 +37,8 @@ run: $(EE_BIN)
rm $(EE_OBJS)
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
+7
View File
@@ -24,6 +24,9 @@ all: $(EE_BIN)
rebuild-engine:
cd $(TYRA_DIR) && make clean && make
rebuild-dbg-engine:
cd $(TYRA_DIR) && make clean && make debug
clean:
rm -f $(EE_OBJS)
@@ -36,4 +39,8 @@ run: $(EE_BIN)
rm $(EE_OBJS)
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