From f66f8232d909e960e3a019fc067740d2b83adc2c Mon Sep 17 00:00:00 2001 From: Rezmason Date: Mon, 5 Sep 2022 02:35:22 -0700 Subject: [PATCH] Adding Playdate compile instructions to the project --- playdate/INSTRUCTIONS.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 playdate/INSTRUCTIONS.md diff --git a/playdate/INSTRUCTIONS.md b/playdate/INSTRUCTIONS.md new file mode 100644 index 0000000..692cc5b --- /dev/null +++ b/playdate/INSTRUCTIONS.md @@ -0,0 +1,15 @@ +C project + To run in the simulator: + cd ./build + rm -R ../ThePlaytrix.pdx ./* + cmake .. + make + + To run on the device: + cd ./build-device + rm -R ../ThePlaytrix.pdx ./* + cmake -DCMAKE_TOOLCHAIN_FILE=${PLAYDATE_SDK_PATH}/C_API/buildsupport/arm.cmake -DCMAKE_BUILD_TYPE=Release .. + make + +Lua project + pdc -s Source ThePlaytrixLua.pdx