# Makefile for games_libs/gui
# $Id: Makefile 1949 2011-05-06 07:18:01Z satofumi $

# Compile options
CC = $(CXX)
CXXFLAGS = -g -O0 -Wall -W -Werror $(INCLUDES) `sdl-config --cflags`
INCLUDES = -I../geometry -I../system/sdl -I../system -I../common -I../math -I../input -I/usr/X11/include

# Target
GUI_LIB = gui.a
TARGET = $(GUI_LIB)

all : $(TARGET)

clean :
	$(RM) *.o $(TARGET)
	cd samples/ && $(MAKE) clean

depend :
	makedepend -Y -- $(INCLUDES) -- $(wildcard *.h *.cpp)

.PHONY : all clean depend
######################################################################
$(GUI_LIB) : \
	$(GUI_LIB)(SdlVideoInit.o) \
	$(GUI_LIB)(SdlTtfInit.o) \
	$(GUI_LIB)(Screen.o) \
	$(GUI_LIB)(LayerManager.o) \
	$(GUI_LIB)(Layer.o) \
	$(GUI_LIB)(TextInput.o) \
	$(GUI_LIB)(CallbackEvent.o) \
	$(GUI_LIB)(EventManager.o) \
	$(GUI_LIB)(EventUtils.o) \
	$(GUI_LIB)(SDL_GL_Texture.o) \
	$(GUI_LIB)(TextSurface.o) \
	$(GUI_LIB)(TextFadeSurface.o) \
	$(GUI_LIB)(TextRubiFadeSurface.o) \
	$(GUI_LIB)(ColorSurface.o) \
	$(GUI_LIB)(FillSurface.o) \
	$(GUI_LIB)(SwitchSurface.o) \
	$(GUI_LIB)(MultiSurface.o) \
	$(GUI_LIB)(ImageSurface.o) \
	$(GUI_LIB)(CanvasSurface.o) \
	$(GUI_LIB)(Font.o) \
	$(GUI_LIB)(Label.o) \
	$(GUI_LIB)(Button.o) \
	$(GUI_LIB)(Menu.o) \
	$(GUI_LIB)(ChatMessage.o) \
	$(GUI_LIB)(AlignUtils.o) \
	$(GUI_LIB)(CheckBox.o) \
	$(GUI_LIB)(ChangeSelect.o) \
	$(GUI_LIB)(SlideSelect.o) \

# DO NOT DELETE

Button.o: Component.h ../geometry/Rect.h ../geometry/Point.h
CallbackEvent.o: Event.h ../geometry/Point.h ../geometry/Rect.h
CanvasSurface.o: Surface.h ../geometry/Rect.h ../geometry/Point.h
CanvasSurface.o: ../common/Color.h
ChangeSelect.o: Component.h ../geometry/Rect.h ../geometry/Point.h
ChatMessage.o: Component.h ../geometry/Rect.h ../geometry/Point.h
CheckBox.o: Component.h ../geometry/Rect.h ../geometry/Point.h
ColorSurface.o: Surface.h ../geometry/Rect.h
Component.o: ../geometry/Rect.h ../geometry/Point.h
Event.o: ../geometry/Point.h
EventManager.o: ../geometry/Point.h
FillSurface.o: Surface.h ../geometry/Rect.h
Font.o: ../common/Color.h
ImageSurface.o: Surface.h ../geometry/Rect.h
Label.o: Component.h ../geometry/Rect.h ../geometry/Point.h
Layer.o: LayerInterface.h
LayerManager.o: LayerInterface.h ../geometry/Point.h
Menu.o: Component.h ../geometry/Rect.h ../geometry/Point.h
MultiSurface.o: Surface.h ../geometry/Rect.h ../geometry/Point.h
SDL_GL_Texture.o: ../geometry/Rect.h
Screen.o: ../geometry/Rect.h
SlideSelect.o: Component.h ../geometry/Rect.h ../geometry/Point.h
Surface.o: ../geometry/Rect.h
SwitchSurface.o: Surface.h ../geometry/Rect.h
TextFadeSurface.o: Surface.h ../geometry/Rect.h
TextInput.o: Event.h ../geometry/Point.h
TextRubiFadeSurface.o: Surface.h ../geometry/Rect.h
TextSurface.o: Surface.h ../geometry/Rect.h
AlignUtils.o: AlignUtils.h Component.h ../geometry/Rect.h ../geometry/Point.h
AlignUtils.o: Surface.h
Button.o: Button.h Component.h ../geometry/Rect.h ../geometry/Point.h
Button.o: SwitchSurface.h Surface.h CallbackEvent.h Event.h LayerManager.h
Button.o: LayerInterface.h ../geometry/RectUtils.h
CallbackEvent.o: CallbackEvent.h Event.h ../geometry/Point.h
CallbackEvent.o: ../geometry/Rect.h ../geometry/RectUtils.h
CanvasSurface.o: CanvasSurface.h Surface.h ../geometry/Rect.h
CanvasSurface.o: ../geometry/Point.h ../common/Color.h Font.h TextSurface.h
ChangeSelect.o: ChangeSelect.h Component.h ../geometry/Rect.h
ChangeSelect.o: ../geometry/Point.h
ChatMessage.o: ChatMessage.h Component.h ../geometry/Rect.h
ChatMessage.o: ../geometry/Point.h Font.h ../common/Color.h TextSurface.h
ChatMessage.o: Surface.h ../system/StopWatch.h
CheckBox.o: CheckBox.h Component.h ../geometry/Rect.h ../geometry/Point.h
CheckBox.o: ../common/Color.h
ColorSurface.o: ColorSurface.h Surface.h ../geometry/Rect.h ../common/Color.h
ColorSurface.o: ../system/log_printf.h ../system/DetectOS.h
EventManager.o: EventManager.h ../geometry/Point.h Event.h
EventUtils.o: EventUtils.h CallbackEvent.h Event.h ../geometry/Point.h
EventUtils.o: ../geometry/Rect.h
FillSurface.o: FillSurface.h Surface.h ../geometry/Rect.h Screen.h
Font.o: ../system/DetectOS.h Font.h ../common/Color.h SdlTtfInit.h
Font.o: ../system/log_printf.h
ImageSurface.o: ImageSurface.h Surface.h ../geometry/Rect.h SDL_GL_Texture.h
ImageSurface.o: ../system/log_printf.h
Label.o: Label.h Component.h ../geometry/Rect.h ../geometry/Point.h Surface.h
Layer.o: Layer.h LayerInterface.h Component.h ../geometry/Rect.h
Layer.o: ../geometry/Point.h Screen.h
LayerManager.o: LayerManager.h LayerInterface.h ../geometry/Point.h Layer.h
LayerManager.o: EventManager.h Event.h
Menu.o: Menu.h Component.h ../geometry/Rect.h ../geometry/Point.h Button.h
Menu.o: Label.h LayerManager.h LayerInterface.h CallbackEvent.h Event.h
Menu.o: AlignUtils.h ../system/log_printf.h
MultiSurface.o: MultiSurface.h Surface.h ../geometry/Rect.h
MultiSurface.o: ../geometry/Point.h
SDL_GL_Texture.o: SDL_GL_Texture.h ../geometry/Rect.h
SDL_GL_Texture.o: ../system/sdl/SdlUtils.h ../geometry/Rotate.h
SDL_GL_Texture.o: ../geometry/Position.h ../geometry/Angle.h
SDL_GL_Texture.o: ../geometry/Point.h ../math/MathUtils.h
SDL_GL_Texture.o: ../system/DetectOS.h ../system/log_printf.h
Screen.o: Screen.h ../geometry/Rect.h SdlVideoInit.h ../common/Color.h
SdlTtfInit.o: ../system/sdl/SdlInit.h SdlTtfInit.h
SdlVideoInit.o: SdlVideoInit.h ../system/sdl/SdlInit.h
SlideSelect.o: SlideSelect.h Component.h ../geometry/Rect.h
SlideSelect.o: ../geometry/Point.h
SwitchSurface.o: SwitchSurface.h Surface.h ../geometry/Rect.h
TextFadeSurface.o: TextFadeSurface.h Surface.h ../geometry/Rect.h
TextFadeSurface.o: TextSurface.h ../input/Utf8.h
TextInput.o: TextInput.h Event.h ../geometry/Point.h LayerManager.h
TextInput.o: LayerInterface.h CallbackEvent.h ../geometry/Rect.h
TextRubiFadeSurface.o: TextRubiFadeSurface.h Surface.h ../geometry/Rect.h
TextRubiFadeSurface.o: TextSurface.h TextFadeSurface.h Font.h
TextRubiFadeSurface.o: ../common/Color.h ../input/Utf8.h
TextRubiFadeSurface.o: ../input/rubi_parse.h
TextSurface.o: TextSurface.h Surface.h ../geometry/Rect.h Font.h
TextSurface.o: ../common/Color.h SDL_GL_Texture.h
