Added simple makefile

The content is replicating the build rules in
examplebuildvoxelgridfrommotion.bat, adding compiler warnings.
This commit is contained in:
Petter Reinholdtsen 2025-07-17 08:07:52 +02:00
commit 5fbb1b50da

14
Makefile Normal file
View file

@ -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