24 lines
571 B
Makefile
24 lines
571 B
Makefile
# Add inputs and outputs from these tool invocations to the build variables
|
|
CPP_SRCS += \
|
|
../src/voxel_engine.cpp \
|
|
../src/Assets.cpp
|
|
|
|
OBJS += \
|
|
./src/voxel_engine.o \
|
|
./src/Assets.o
|
|
|
|
CPP_DEPS += \
|
|
./src/voxel_engine.d \
|
|
./src/Assets.d
|
|
|
|
|
|
# Each subdirectory must supply rules for building sources it contributes
|
|
src/%.o: ../src/%.cpp src/subdir.mk
|
|
@echo 'Building file: $<'
|
|
@echo 'Invoking: GCC C++ Compiler'
|
|
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" -o "$@" "$<"
|
|
@echo 'Finished building: $<'
|
|
@echo ' '
|
|
|
|
|