# Makefile for sync_gui
# Satofumi KAMIMURA
# $Id: Makefile 944 2009-05-31 08:11:26Z satofumi $

# Compile options
CC = g++
CXXFLAGS = -g -O0 -Wall -W -Werror $(INCLUDES)
INCLUDES = -I../gui -I../geometry -I../network -I../connection
LDFLAGS =
LDLIBS =


# Target
SYNC_GUI_MASTER_LIB = sync_gui_master.a
SYNC_GUI_SLAVE_LIB = sync_gui_slave.a
TARGET = $(SYNC_GUI_MASTER_LIB) $(SYNC_GUI_SLAVE_LIB)

all : $(TARGET)

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

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

.PHONY : all clean depend
######################################################################
$(SYNC_GUI_MASTER_LIB) : \
	$(SYNC_GUI_MASTER_LIB)(MasterLayer.o) \
	$(SYNC_GUI_MASTER_LIB)(master_ColorSurface.o) \
	$(SYNC_GUI_MASTER_LIB)(master_Label.o) \

$(SYNC_GUI_SLAVE_LIB) : \
	$(SYNC_GUI_SLAVE_LIB)(SlaveLayer.o) \

# DO NOT DELETE

MasterLayer.o: ../gui/LayerInterface.h
SlaveLayer.o: ../gui/LayerInterface.h ../network/Packet.h
SlaveLayer.o: ../connection/Connection.h
master_ColorSurface.o: ../gui/Surface.h ../geometry/Rect.h
master_Label.o: ../gui/Component.h ../geometry/Rect.h ../geometry/Point.h
MasterLayer.o: MasterLayer.h ../gui/LayerInterface.h ../gui/Component.h
MasterLayer.o: ../geometry/Rect.h ../geometry/Point.h
SlaveLayer.o: SlaveLayer.h ../gui/LayerInterface.h ../network/Packet.h
SlaveLayer.o: ../connection/Connection.h ../gui/Component.h
SlaveLayer.o: ../geometry/Rect.h ../geometry/Point.h
master_ColorSurface.o: master_ColorSurface.h ../gui/Surface.h
master_ColorSurface.o: ../geometry/Rect.h
master_Label.o: master_Label.h ../gui/Component.h ../geometry/Rect.h
master_Label.o: ../geometry/Point.h
