diff --git a/Debug/makefile b/Debug/makefile new file mode 100644 index 00000000..a25ebf8b --- /dev/null +++ b/Debug/makefile @@ -0,0 +1,65 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +-include ../makefile.init + +RM := rm -rf + +# All of the sources participating in the build are defined here +-include sources.mk +-include src/window/subdir.mk +-include src/voxels/subdir.mk +-include src/physics/subdir.mk +-include src/loaders/subdir.mk +-include src/lighting/subdir.mk +-include src/graphics/subdir.mk +-include src/files/subdir.mk +-include src/subdir.mk +-include subdir.mk +-include objects.mk + +ifneq ($(MAKECMDGOALS),clean) +ifneq ($(strip $(CC_DEPS)),) +-include $(CC_DEPS) +endif +ifneq ($(strip $(C++_DEPS)),) +-include $(C++_DEPS) +endif +ifneq ($(strip $(C_UPPER_DEPS)),) +-include $(C_UPPER_DEPS) +endif +ifneq ($(strip $(CXX_DEPS)),) +-include $(CXX_DEPS) +endif +ifneq ($(strip $(C_DEPS)),) +-include $(C_DEPS) +endif +ifneq ($(strip $(CPP_DEPS)),) +-include $(CPP_DEPS) +endif +endif + +-include ../makefile.defs + +# Add inputs and outputs from these tool invocations to the build variables + +# All Target +all: voxel_engine + +# Tool invocations +voxel_engine: $(OBJS) $(USER_OBJS) + @echo 'Building target: $@' + @echo 'Invoking: Cross G++ Linker' + g++ -o "voxel_engine" $(OBJS) $(USER_OBJS) $(LIBS) + @echo 'Finished building target: $@' + @echo ' ' + +# Other Targets +clean: + -$(RM) $(CC_DEPS)$(C++_DEPS)$(EXECUTABLES)$(OBJS)$(C_UPPER_DEPS)$(CXX_DEPS)$(C_DEPS)$(CPP_DEPS) voxel_engine + -@echo ' ' + +.PHONY: all clean dependents + +-include ../makefile.targets diff --git a/Debug/objects.mk b/Debug/objects.mk new file mode 100644 index 00000000..471b1bf6 --- /dev/null +++ b/Debug/objects.mk @@ -0,0 +1,8 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +USER_OBJS := + +LIBS := -lglfw -lpng -lGL -lGLEW -lstdc++fs + diff --git a/Debug/sources.mk b/Debug/sources.mk new file mode 100644 index 00000000..580fe4b9 --- /dev/null +++ b/Debug/sources.mk @@ -0,0 +1,34 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +C_UPPER_SRCS := +CXX_SRCS := +C++_SRCS := +OBJ_SRCS := +CC_SRCS := +ASM_SRCS := +C_SRCS := +CPP_SRCS := +O_SRCS := +S_UPPER_SRCS := +CC_DEPS := +C++_DEPS := +EXECUTABLES := +OBJS := +C_UPPER_DEPS := +CXX_DEPS := +C_DEPS := +CPP_DEPS := + +# Every subdirectory with source files must be described here +SUBDIRS := \ +src/files \ +src/graphics \ +src/lighting \ +src/loaders \ +src/physics \ +src \ +src/voxels \ +src/window \ + diff --git a/Debug/src/files/subdir.mk b/Debug/src/files/subdir.mk new file mode 100644 index 00000000..0bdaaaf4 --- /dev/null +++ b/Debug/src/files/subdir.mk @@ -0,0 +1,27 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/files/WorldFiles.cpp \ +../src/files/files.cpp + +OBJS += \ +./src/files/WorldFiles.o \ +./src/files/files.o + +CPP_DEPS += \ +./src/files/WorldFiles.d \ +./src/files/files.d + + +# Each subdirectory must supply rules for building sources it contributes +src/files/%.o: ../src/files/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/Debug/src/graphics/subdir.mk b/Debug/src/graphics/subdir.mk new file mode 100644 index 00000000..2fe4a7d3 --- /dev/null +++ b/Debug/src/graphics/subdir.mk @@ -0,0 +1,36 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/graphics/LineBatch.cpp \ +../src/graphics/Mesh.cpp \ +../src/graphics/Shader.cpp \ +../src/graphics/Texture.cpp \ +../src/graphics/VoxelRenderer.cpp + +OBJS += \ +./src/graphics/LineBatch.o \ +./src/graphics/Mesh.o \ +./src/graphics/Shader.o \ +./src/graphics/Texture.o \ +./src/graphics/VoxelRenderer.o + +CPP_DEPS += \ +./src/graphics/LineBatch.d \ +./src/graphics/Mesh.d \ +./src/graphics/Shader.d \ +./src/graphics/Texture.d \ +./src/graphics/VoxelRenderer.d + + +# Each subdirectory must supply rules for building sources it contributes +src/graphics/%.o: ../src/graphics/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/Debug/src/lighting/subdir.mk b/Debug/src/lighting/subdir.mk new file mode 100644 index 00000000..eb50981a --- /dev/null +++ b/Debug/src/lighting/subdir.mk @@ -0,0 +1,30 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/lighting/LightSolver.cpp \ +../src/lighting/Lighting.cpp \ +../src/lighting/Lightmap.cpp + +OBJS += \ +./src/lighting/LightSolver.o \ +./src/lighting/Lighting.o \ +./src/lighting/Lightmap.o + +CPP_DEPS += \ +./src/lighting/LightSolver.d \ +./src/lighting/Lighting.d \ +./src/lighting/Lightmap.d + + +# Each subdirectory must supply rules for building sources it contributes +src/lighting/%.o: ../src/lighting/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/Debug/src/loaders/subdir.mk b/Debug/src/loaders/subdir.mk new file mode 100644 index 00000000..c2345669 --- /dev/null +++ b/Debug/src/loaders/subdir.mk @@ -0,0 +1,24 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/loaders/png_loading.cpp + +OBJS += \ +./src/loaders/png_loading.o + +CPP_DEPS += \ +./src/loaders/png_loading.d + + +# Each subdirectory must supply rules for building sources it contributes +src/loaders/%.o: ../src/loaders/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/Debug/src/physics/subdir.mk b/Debug/src/physics/subdir.mk new file mode 100644 index 00000000..70832091 --- /dev/null +++ b/Debug/src/physics/subdir.mk @@ -0,0 +1,27 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/physics/Hitbox.cpp \ +../src/physics/PhysicsSolver.cpp + +OBJS += \ +./src/physics/Hitbox.o \ +./src/physics/PhysicsSolver.o + +CPP_DEPS += \ +./src/physics/Hitbox.d \ +./src/physics/PhysicsSolver.d + + +# Each subdirectory must supply rules for building sources it contributes +src/physics/%.o: ../src/physics/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/Debug/src/subdir.mk b/Debug/src/subdir.mk new file mode 100644 index 00000000..8ae370c6 --- /dev/null +++ b/Debug/src/subdir.mk @@ -0,0 +1,24 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/voxel_engine.cpp + +OBJS += \ +./src/voxel_engine.o + +CPP_DEPS += \ +./src/voxel_engine.d + + +# Each subdirectory must supply rules for building sources it contributes +src/%.o: ../src/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/Debug/src/voxels/subdir.mk b/Debug/src/voxels/subdir.mk new file mode 100644 index 00000000..e5ed377e --- /dev/null +++ b/Debug/src/voxels/subdir.mk @@ -0,0 +1,36 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/voxels/Block.cpp \ +../src/voxels/Chunk.cpp \ +../src/voxels/Chunks.cpp \ +../src/voxels/WorldGenerator.cpp \ +../src/voxels/voxel.cpp + +OBJS += \ +./src/voxels/Block.o \ +./src/voxels/Chunk.o \ +./src/voxels/Chunks.o \ +./src/voxels/WorldGenerator.o \ +./src/voxels/voxel.o + +CPP_DEPS += \ +./src/voxels/Block.d \ +./src/voxels/Chunk.d \ +./src/voxels/Chunks.d \ +./src/voxels/WorldGenerator.d \ +./src/voxels/voxel.d + + +# Each subdirectory must supply rules for building sources it contributes +src/voxels/%.o: ../src/voxels/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + + diff --git a/Debug/src/window/subdir.mk b/Debug/src/window/subdir.mk new file mode 100644 index 00000000..c8685f7a --- /dev/null +++ b/Debug/src/window/subdir.mk @@ -0,0 +1,30 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +# Add inputs and outputs from these tool invocations to the build variables +CPP_SRCS += \ +../src/window/Camera.cpp \ +../src/window/Events.cpp \ +../src/window/Window.cpp + +OBJS += \ +./src/window/Camera.o \ +./src/window/Events.o \ +./src/window/Window.o + +CPP_DEPS += \ +./src/window/Camera.d \ +./src/window/Events.d \ +./src/window/Window.d + + +# Each subdirectory must supply rules for building sources it contributes +src/window/%.o: ../src/window/%.cpp + @echo 'Building file: $<' + @echo 'Invoking: Cross G++ Compiler' + g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" + @echo 'Finished building: $<' + @echo ' ' + +