Linux makefiles updated

This commit is contained in:
MihailRis 2022-03-20 23:49:26 +03:00 committed by GitHub
parent 1770acbfef
commit 5363d0e7ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 33 additions and 1 deletions

View File

@ -16,6 +16,7 @@ RM := rm -rf
-include src/lighting/subdir.mk
-include src/graphics/subdir.mk
-include src/files/subdir.mk
-include src/audio/subdir.mk
-include src/subdir.mk
-include subdir.mk
-include objects.mk

View File

@ -4,5 +4,5 @@
USER_OBJS :=
LIBS := -lglfw -lpng -lGL -lGLEW -lstdc++fs
LIBS := -lglfw -lpng -lopenal -lGL -lGLEW -lstdc++fs

View File

@ -24,6 +24,7 @@ CPP_DEPS :=
# Every subdirectory with source files must be described here
SUBDIRS := \
src \
src/audio \
src/files \
src/graphics \
src/lighting \

27
Debug/src/audio/subdir.mk Normal file
View File

@ -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/audio/Audio.cpp \
../src/audio/audioutil.cpp
OBJS += \
./src/audio/Audio.o \
./src/audio/audioutil.o
CPP_DEPS += \
./src/audio/Audio.d \
./src/audio/audioutil.d
# Each subdirectory must supply rules for building sources it contributes
src/audio/%.o: ../src/audio/%.cpp src/audio/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 ' '

View File

@ -5,6 +5,7 @@
# Add inputs and outputs from these tool invocations to the build variables
CPP_SRCS += \
../src/graphics/Batch2D.cpp \
../src/graphics/Font.cpp \
../src/graphics/LineBatch.cpp \
../src/graphics/Mesh.cpp \
../src/graphics/Shader.cpp \
@ -13,6 +14,7 @@ CPP_SRCS += \
OBJS += \
./src/graphics/Batch2D.o \
./src/graphics/Font.o \
./src/graphics/LineBatch.o \
./src/graphics/Mesh.o \
./src/graphics/Shader.o \
@ -21,6 +23,7 @@ OBJS += \
CPP_DEPS += \
./src/graphics/Batch2D.d \
./src/graphics/Font.d \
./src/graphics/LineBatch.d \
./src/graphics/Mesh.d \
./src/graphics/Shader.d \