From 5fbb1b50dab7db4072114f620e1a19d927ae7fab Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Thu, 17 Jul 2025 08:07:52 +0200 Subject: [PATCH] Added simple makefile The content is replicating the build rules in examplebuildvoxelgridfrommotion.bat, adding compiler warnings. --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..62eb1c3 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +CPPFLAGS = +CFLAGS = -Wall -W -std=c++17 -O2 +LDFLAGS = + +all: ray_voxel + +example: ray_voxel + ray_voxel motionimages/metadata.json motionimages voxel_grid.bin + +ray_voxel: + $(CXX) $(CPPFLAGS) $(CFLAGS) ray_voxel.cpp -o ray_voxel + +clean: + $(RM) ray_voxel