mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Linux makefiles updated
This commit is contained in:
parent
1770acbfef
commit
5363d0e7ba
5 changed files with 33 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -4,5 +4,5 @@
|
|||
|
||||
USER_OBJS :=
|
||||
|
||||
LIBS := -lglfw -lpng -lGL -lGLEW -lstdc++fs
|
||||
LIBS := -lglfw -lpng -lopenal -lGL -lGLEW -lstdc++fs
|
||||
|
||||
|
|
|
|||
|
|
@ -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
27
Debug/src/audio/subdir.mk
Normal 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 ' '
|
||||
|
||||
|
||||
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue