From 8ac5b43a595fcacaa7eba074ac8f95b1a3af0b28 Mon Sep 17 00:00:00 2001 From: Cameron Reikes Date: Fri, 23 Dec 2022 13:16:02 -0800 Subject: [PATCH] More whitebox tomfoolery --- build_elf_objects.bat | 3 +- whitebox_settings.txt | 80 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+), 1 deletion(-) create mode 100644 whitebox_settings.txt diff --git a/build_elf_objects.bat b/build_elf_objects.bat index f216728..7aad252 100644 --- a/build_elf_objects.bat +++ b/build_elf_objects.bat @@ -16,10 +16,11 @@ pushd thirdparty\Chipmunk2D\src popd @REM /DENET_DEBUG=1^ -gcc -c^ +clang -target x86_64-pc-windows-elf -c^ -I"thirdparty" -I"thirdparty\minilzo" -I"thirdparty\enet\include" -I"thirdparty\Chipmunk2D\include\chipmunk" -I"thirdparty\Chipmunk2D\include" -I"thirdparty\opus\include" -I"thirdparty\opus\src"^ %MUNKSRC% +rmdir /S /Q elf_objects mkdir elf_objects move *.o elf_objects diff --git a/whitebox_settings.txt b/whitebox_settings.txt new file mode 100644 index 0000000..4b15c8c --- /dev/null +++ b/whitebox_settings.txt @@ -0,0 +1,80 @@ +includes: +-IC:\Users\Cameron\Documents\flight\ +thirdparty +thirdparty\minilzo +thirdparty\enet\include +thirdparty\Chipmunk2D\include\chipmunk +thirdparty\Chipmunk2D\include +thirdparty\opus\include +thirdparty\opus\src + +objects: +C:\Users\Cameron\Documents\flight\elf_objects\ +chipmunk.o +cpArbiter.o +cpArray.o +cpBBTree.o +cpBody.o +cpCollision.o +cpConstraint.o +cpDampedRotarySpring.o +cpDampedSpring.o +cpGearJoint.o +cpGrooveJoint.o +cpHashSet.o +cpHastySpace.o +cpMarch.o +cpPinJoint.o +cpPivotJoint.o +cpPolyline.o +cpPolyShape.o +cpRatchetJoint.o +cpRobust.o +cpRotaryLimitJoint.o +cpShape.o +cpSimpleMotor.o +cpSlideJoint.o +cpSpace.o +cpSpaceComponent.o +cpSpaceDebug.o +cpSpaceHash.o +cpSpaceQuery.o +cpSpaceStep.o +cpSpatialIndex.o +cpSweep1D.o + + + +C:\Users\Cameron\Documents\flight\elf_objects\ +C:\Users\Cameron\Documents\flight\elf_objects\chipmunk.o +C:\Users\Cameron\Documents\flight\elf_objects\cpArbiter.o +C:\Users\Cameron\Documents\flight\elf_objects\cpArray.o +C:\Users\Cameron\Documents\flight\elf_objects\cpBBTree.o +C:\Users\Cameron\Documents\flight\elf_objects\cpBody.o +C:\Users\Cameron\Documents\flight\elf_objects\cpCollision.o +C:\Users\Cameron\Documents\flight\elf_objects\cpConstraint.o +C:\Users\Cameron\Documents\flight\elf_objects\cpDampedRotarySpring.o +C:\Users\Cameron\Documents\flight\elf_objects\cpDampedSpring.o +C:\Users\Cameron\Documents\flight\elf_objects\cpGearJoint.o +C:\Users\Cameron\Documents\flight\elf_objects\cpGrooveJoint.o +C:\Users\Cameron\Documents\flight\elf_objects\cpHashSet.o +C:\Users\Cameron\Documents\flight\elf_objects\cpHastySpace.o +C:\Users\Cameron\Documents\flight\elf_objects\cpMarch.o +C:\Users\Cameron\Documents\flight\elf_objects\cpPinJoint.o +C:\Users\Cameron\Documents\flight\elf_objects\cpPivotJoint.o +C:\Users\Cameron\Documents\flight\elf_objects\cpPolyline.o +C:\Users\Cameron\Documents\flight\elf_objects\cpPolyShape.o +C:\Users\Cameron\Documents\flight\elf_objects\cpRatchetJoint.o +C:\Users\Cameron\Documents\flight\elf_objects\cpRobust.o +C:\Users\Cameron\Documents\flight\elf_objects\cpRotaryLimitJoint.o +C:\Users\Cameron\Documents\flight\elf_objects\cpShape.o +C:\Users\Cameron\Documents\flight\elf_objects\cpSimpleMotor.o +C:\Users\Cameron\Documents\flight\elf_objects\cpSlideJoint.o +C:\Users\Cameron\Documents\flight\elf_objects\cpSpace.o +C:\Users\Cameron\Documents\flight\elf_objects\cpSpaceComponent.o +C:\Users\Cameron\Documents\flight\elf_objects\cpSpaceDebug.o +C:\Users\Cameron\Documents\flight\elf_objects\cpSpaceHash.o +C:\Users\Cameron\Documents\flight\elf_objects\cpSpaceQuery.o +C:\Users\Cameron\Documents\flight\elf_objects\cpSpaceStep.o +C:\Users\Cameron\Documents\flight\elf_objects\cpSpatialIndex.o +C:\Users\Cameron\Documents\flight\elf_objects\cpSweep1D.o