Some refactor

This commit is contained in:
MihailRis
2022-06-29 16:07:55 +03:00
committed by GitHub
parent 123f3ae6ff
commit 4ceba017c7
11 changed files with 92 additions and 27 deletions
+1
View File
@@ -8,6 +8,7 @@ RM := rm -rf
# All of the sources participating in the build are defined here
-include sources.mk
-include src/world/subdir.mk
-include src/window/subdir.mk
-include src/voxels/subdir.mk
-include src/physics/subdir.mk
+1
View File
@@ -33,4 +33,5 @@ src/objects \
src/physics \
src/voxels \
src/window \
src/world \
+24
View File
@@ -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/world/World.cpp
OBJS += \
./src/world/World.o
CPP_DEPS += \
./src/world/World.d
# Each subdirectory must supply rules for building sources it contributes
src/world/%.o: ../src/world/%.cpp src/world/subdir.mk
@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 ' '