################################################################################
#
# HECKY Raoul
# Edje tutorial makefile
# 10/01/2007
#
################################################################################

#You can modify these 2 lines
DEFAULT=theme.edj
DEF_SRC=theme.edc

#You can add a folder to include here
INCLUDE=-id images/ -id ./ -fd ./ -fd fonts/

################################################################################
CC=edje_cc
RUN=edje_viewer
DEF_SRCS=*.edc

RUN_OPT=
DEBUG=-v

all: $(DEFAULT)

$(DEFAULT): $(DEF_SRCS)
	@echo -n "[*] Compilation du theme [$(DEFAULT)] "
	@$(CC) $(INCLUDE) $(DEBUG) $(DEF_SRC) $(DEFAULT)
	@echo "------ [OK]"

clean :
	@rm -f $(DEFAULT) *~

test : $(DEFAULT)
	@$(RUN) $(RUN_OPT) $(DEFAULT)

