summaryrefslogtreecommitdiff
path: root/src/examples/evas/Makefile.examples
blob: 66197f32fc6f871a36718b62fdc5033976da0caf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
CC=gcc
EDJE_CC=edje_cc
EDJE_CODEGEN=edje_codegen
COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,evas,ecore-evas,edje,eo`

EDJE_OBJS= aspect.edj

EXAMPLES= evas-aspect-hints \
          evas-box \
          evas-buffer-simple \
          evas-events \
          evas-3d-fog.c \
          evas-hints \
          evas-images \
          evas-images2 \
          evas-images3 \
          evas-images4 \
          evas-images5 \
          evas-init-shutdown \
          evas-map-utils \
          evas-object-manipulation \
          evas-object-manipulation-eo \
          evas-smart-interface \
          evas-smart-object \
          evas-stacking \
          evas-table \
          evas-text \
          evas-textblock-obstacles

all: edje examples
edje: $(EDJE_OBJS)
examples: $(EXAMPLES)

%.edj: %.edc
	$(EDJE_CC) $<

$(EXAMPLES):
	$(CC) -o $@ $@.c $(COMMON_FLAGS)

clean:
	@echo "Cleaning up built objects..."
	@rm -Rf $(EXAMPLES) *.edj