# Makefile for games_libs/gui
# $Id: Makefile 912 2009-05-20 14:10:37Z 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

# 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)(ColorSurface.o) \
	$(GUI_LIB)(SwitchSurface.o) \
	$(GUI_LIB)(MultiSurface.o) \
	$(GUI_LIB)(ImageSurface.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) \

# DO NOT DELETE

Button.o: Component.h ../geometry/Rect.h ../geometry/Point.h
CallbackEvent.o: Event.h ../geometry/Point.h ../geometry/Rect.h
ChatMessage.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
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
Surface.o: ../geometry/Rect.h
SwitchSurface.o: Surface.h ../geometry/Rect.h
TextInput.o: Event.h ../geometry/Point.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
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
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
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
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 ../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
SwitchSurface.o: SwitchSurface.h Surface.h ../geometry/Rect.h
TextInput.o: TextInput.h Event.h ../geometry/Point.h LayerManager.h
TextInput.o: LayerInterface.h CallbackEvent.h ../geometry/Rect.h
TextSurface.o: TextSurface.h Surface.h ../geometry/Rect.h Font.h
TextSurface.o: ../common/Color.h SDL_GL_Texture.h
