Some refactor
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -33,4 +33,5 @@ src/objects \
|
||||
src/physics \
|
||||
src/voxels \
|
||||
src/window \
|
||||
src/world \
|
||||
|
||||
|
||||
@@ -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 ' '
|
||||
|
||||
|
||||
Reference in New Issue
Block a user