# Makefile system/sdl/samples
# $Id: Makefile 825 2009-05-08 23:43:20Z satofumi $

# Compile options
CC = $(CXX)
CXXFLAGS = -g -O0 -Wall -W -Werror $(INCLUDES) `sdl-config --cflags`
INCLUDES = -I.. -I../..
LDFLAGS =
LDLIBS = `sdl-config --libs`


# Target
TARGET = \
	cycleWait \

all : $(TARGET)

clean :
	$(RM) *.o $(TARGET) error_log.txt

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

.PHONY : all clean depend
######################################################################
REQUIRE_LIBS = ../../system.a ../system_sdl.a

$(REQUIRE_LIBS) :
	cd $(@D)/ && $(MAKE) $(@F)

cycleWait : $(REQUIRE_LIBS)

# DO NOT DELETE

cycleWait.o: ../../CycleTimer.h ../../getTicks.h ../../delay.h
