ConsistentlyInconsistentYT-.../Makefile
Sam b02a5b4f46 Formalise project
This "projectifies" the code as it stood. We add
a more detailed README, a Makefile and include the
dependencies in source control in a sub directory.
Building is updated slightly to output to a
`build` directory so we can gitignore artifacts.
AI Disclosure: Some copilot use for drafts of the
makefile and readme
2025-08-27 21:08:51 +01:00

19 lines
No EOL
381 B
Makefile

CPPFLAGS =
CFLAGS = -Wall -W -std=c++17 -O3
LDFLAGS =
BINDIR = build
all: $(BINDIR)/ray_voxel
$(BINDIR)/ray_voxel: ray_voxel.cpp | $(BINDIR)
$(CXX) $(CPPFLAGS) $(CFLAGS) ray_voxel.cpp -o $(BINDIR)/ray_voxel
$(BINDIR):
mkdir -p $(BINDIR)
example: $(BINDIR)/ray_voxel
./build/ray_voxel motionimages/metadata.json motionimages voxel_grid.bin
clean:
$(RM) $(BINDIR)/ray_voxel