mirror of
https://github.com/ConsistentlyInconsistentYT/Pixeltovoxelprojector.git
synced 2025-10-13 20:32:06 +00:00
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
19 lines
No EOL
381 B
Makefile
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
|