examples/unsorted/edje/Makefile.examples

114 lines
2.3 KiB
Makefile

CC=gcc
EDJE_CC=edje_cc
EDJE_CODEGEN=edje_codegen
COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,evas,ecore-evas,edje`
EDJE_OBJS= \
animations.edj \
animations2.edj \
basic.edj \
basic2.edj \
bezier-transition-example.edj \
box.edj \
box_example.edj \
codegen.edj \
color-class.edj \
drag.edj \
dynamic_multiseat.edj \
edje-anchors.edj \
edje-group.edj \
edje-map-color.edj \
edje-nested.edj \
edje-threshold.edj \
edje_example.edj \
embryo_custom_state.edj \
embryo_pong.edj \
embryo_run_program.edj \
embryo_set_state.edj \
embryo_set_state_anim.edj \
embryo_set_text.edj \
embryo_timer.edj \
embryo_tween_anim.edj \
entry.edj \
external_elm_anchorblock.edj \
external_elm_button.edj \
external_elm_check.edj \
external_elm_panes.edj \
external_emotion_elm.edj \
focus.edj \
lua_script.edj \
messages_echo.edj \
multiseat.edj \
multiseat_custom_names.edj \
multiseat_filter.edj \
perspective.edj \
signals-messages.edj \
signalsBubble.edj \
sigtest.edj \
svg.edj \
swallow.edj \
table.edj \
text.edj \
textblock-hyphen.edj \
toggle_using_filter.edj
PHYSICS_OBJS = \
physics_3d.edj \
physics_actions.edj \
physics_backcull.edj \
physics_basic.edj \
physics_complex.edj \
physics_soft_bodies.edj
EXAMPLES = \
animations2 \
edje-anchors \
edje-animations \
edje-basic \
edje-basic2 \
edje-box \
edje-box2 \
edje-color-class \
edje-drag \
edje-dynamic-multiseat \
edje-edit-part-box \
edje-entry \
edje-focus \
edje-multiseat \
edje-multiseat-custom-names \
edje-multiseat-filter \
edje-multisense \
edje-perspective \
edje-signals-messages \
edje-swallow \
edje-swallow2 \
edje-table \
edje-text \
edje-textblock-hyphenation \
edje_example \
signals2 \
sigtest \
svg-test
all: edje examples edje-codegen-example
physics-edje: $(PHYSICS_OBJS)
edje: $(EDJE_OBJS)
examples: $(EXAMPLES)
%.edj: %.edc
$(EDJE_CC) -beta -md . $<
codegen:
$(EDJE_CODEGEN) --prefix=codegen_example codegen.edj example_group codegen_example_generated.c codegen_example_generated.h
edje-codegen-example: codegen
$(CC) -o edje-codegen-example codegen_example_generated.c edje-codegen-example.c $(COMMON_FLAGS)
$(EXAMPLES): edje-codegen-example
$(CC) -o $@ $@.c $(COMMON_FLAGS)
clean:
@echo "Cleaning up built objects..."
@rm -Rf $(EXAMPLES) *.edj edje-codegen-example