64 lines
1.5 KiB
Makefile
64 lines
1.5 KiB
Makefile
################################################################################
|
|
# 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
|