Initial commit

This commit is contained in:
2019-07-05 18:24:10 +02:00
commit de53477a49
216 changed files with 2569 additions and 0 deletions

3
Debug/AnimatedTexture.d Normal file
View File

@@ -0,0 +1,3 @@
AnimatedTexture.o: ../AnimatedTexture.cpp ../AnimatedTexture.h
../AnimatedTexture.h:

BIN
Debug/AnimatedTexture.o Normal file

Binary file not shown.

3
Debug/AssetLoader.d Normal file
View File

@@ -0,0 +1,3 @@
AssetLoader.o: ../AssetLoader.cpp ../AssetLoader.hpp
../AssetLoader.hpp:

BIN
Debug/AssetLoader.o Normal file

Binary file not shown.

15
Debug/SnakeGame.d Normal file
View File

@@ -0,0 +1,15 @@
SnakeGame.o: ../SnakeGame.cpp ../SnakeGame.hpp ../global.h \
../AssetLoader.hpp ../AnimatedTexture.h ../SnakeTextAnimation.h \
../SnakeTextAnimationHelper.h
../SnakeGame.hpp:
../global.h:
../AssetLoader.hpp:
../AnimatedTexture.h:
../SnakeTextAnimation.h:
../SnakeTextAnimationHelper.h:

BIN
Debug/SnakeGame.o Normal file

Binary file not shown.

8
Debug/SnakeMenu.d Normal file
View File

@@ -0,0 +1,8 @@
SnakeMenu.o: ../SnakeMenu.cpp ../SnakeMenu.h ../global.h \
../AssetLoader.hpp
../SnakeMenu.h:
../global.h:
../AssetLoader.hpp:

BIN
Debug/SnakeMenu.o Normal file

Binary file not shown.

View File

@@ -0,0 +1,3 @@
SnakeTextAnimation.o: ../SnakeTextAnimation.cpp ../SnakeTextAnimation.h
../SnakeTextAnimation.h:

BIN
Debug/SnakeTextAnimation.o Normal file

Binary file not shown.

View File

@@ -0,0 +1,6 @@
SnakeTextAnimationHelper.o: ../SnakeTextAnimationHelper.cpp \
../SnakeTextAnimationHelper.h ../SnakeTextAnimation.h
../SnakeTextAnimationHelper.h:
../SnakeTextAnimation.h:

Binary file not shown.

5
Debug/global.d Normal file
View File

@@ -0,0 +1,5 @@
global.o: ../global.cpp ../global.h ../AssetLoader.hpp
../global.h:
../AssetLoader.hpp:

BIN
Debug/global.o Normal file

Binary file not shown.

17
Debug/main.d Normal file
View File

@@ -0,0 +1,17 @@
main.o: ../main.cpp ../SnakeGame.hpp ../global.h ../AssetLoader.hpp \
../AnimatedTexture.h ../SnakeTextAnimation.h \
../SnakeTextAnimationHelper.h ../SnakeMenu.h
../SnakeGame.hpp:
../global.h:
../AssetLoader.hpp:
../AnimatedTexture.h:
../SnakeTextAnimation.h:
../SnakeTextAnimationHelper.h:
../SnakeMenu.h:

BIN
Debug/main.o Normal file

Binary file not shown.

63
Debug/makefile Normal file
View File

@@ -0,0 +1,63 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
-include ../makefile.init
RM := rm -rf
# All of the sources participating in the build are defined here
-include sources.mk
-include subdir.mk
-include objects.mk
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(CC_DEPS)),)
-include $(CC_DEPS)
endif
ifneq ($(strip $(C++_DEPS)),)
-include $(C++_DEPS)
endif
ifneq ($(strip $(C_UPPER_DEPS)),)
-include $(C_UPPER_DEPS)
endif
ifneq ($(strip $(CXX_DEPS)),)
-include $(CXX_DEPS)
endif
ifneq ($(strip $(INO_DEPS)),)
-include $(INO_DEPS)
endif
ifneq ($(strip $(PDE_DEPS)),)
-include $(PDE_DEPS)
endif
ifneq ($(strip $(CPP_DEPS)),)
-include $(CPP_DEPS)
endif
ifneq ($(strip $(C_DEPS)),)
-include $(C_DEPS)
endif
endif
-include ../makefile.defs
# Add inputs and outputs from these tool invocations to the build variables
# All Target
all: sdl2
# Tool invocations
sdl2: $(OBJS) $(USER_OBJS)
@echo 'Building target: $@'
@echo 'Invoking: GCC C++ Linker'
g++ -L/usr/include/SDL2 -o "sdl2" $(OBJS) $(USER_OBJS) $(LIBS) `sdl2-config --libs` -lSDL2_image -lSDL2_ttf -lSDL2_mixer -lSDL2_gfx -lm
@echo 'Finished building target: $@'
@echo ' '
# Other Targets
clean:
-$(RM) $(CC_DEPS)$(C++_DEPS)$(EXECUTABLES)$(C_UPPER_DEPS)$(CXX_DEPS)$(OBJS)$(INO_DEPS)$(PDE_DEPS)$(CPP_DEPS)$(C_DEPS) sdl2
-@echo ' '
.PHONY: all clean dependents
-include ../makefile.targets

8
Debug/objects.mk Normal file
View File

@@ -0,0 +1,8 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
USER_OBJS :=
LIBS := -lSDL2

BIN
Debug/sdl2 Executable file

Binary file not shown.

31
Debug/sources.mk Normal file
View File

@@ -0,0 +1,31 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
C_UPPER_SRCS :=
CXX_SRCS :=
C++_SRCS :=
OBJ_SRCS :=
INO_SRCS :=
PDE_SRCS :=
CC_SRCS :=
ASM_SRCS :=
CPP_SRCS :=
C_SRCS :=
O_SRCS :=
S_UPPER_SRCS :=
CC_DEPS :=
C++_DEPS :=
EXECUTABLES :=
C_UPPER_DEPS :=
CXX_DEPS :=
OBJS :=
INO_DEPS :=
PDE_DEPS :=
CPP_DEPS :=
C_DEPS :=
# Every subdirectory with source files must be described here
SUBDIRS := \
. \

45
Debug/subdir.mk Normal file
View File

@@ -0,0 +1,45 @@
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
CPP_SRCS += \
../AnimatedTexture.cpp \
../AssetLoader.cpp \
../SnakeGame.cpp \
../SnakeMenu.cpp \
../SnakeTextAnimation.cpp \
../SnakeTextAnimationHelper.cpp \
../global.cpp \
../main.cpp
OBJS += \
./AnimatedTexture.o \
./AssetLoader.o \
./SnakeGame.o \
./SnakeMenu.o \
./SnakeTextAnimation.o \
./SnakeTextAnimationHelper.o \
./global.o \
./main.o
CPP_DEPS += \
./AnimatedTexture.d \
./AssetLoader.d \
./SnakeGame.d \
./SnakeMenu.d \
./SnakeTextAnimation.d \
./SnakeTextAnimationHelper.d \
./global.d \
./main.d
# Each subdirectory must supply rules for building sources it contributes
%.o: ../%.cpp
@echo 'Building file: $<'
@echo 'Invoking: GCC C++ Compiler'
g++ -I/usr/include/SDL2 -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '