summaryrefslogtreecommitdiff
path: root/source/3-final/data/edc/Makefile
blob: ac64a91eca0d025b5e49a6de40f0a465e553d328 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PREFIX=/usr/local
DATADIR=$(PREFIX)/share/sample

EDJS=layout.edj theme_ext.edj
EDJE_CC = edje_cc
EDJE_FLAGS = -id ../images

edj: $(EDJS)

layout.edj: layout.edc
	@echo "  Compilation of $(@D)/$(<F)"
	@$(EDJE_CC) $(EDJE_FLAGS) layout.edc

theme_ext.edj: theme_ext.edc
	@echo "  Compilation of $(@D)/$(<F)"
	@$(EDJE_CC) $(EDJE_FLAGS) theme_ext.edc

install: edj
	@mkdir -p $(DATADIR)/edj
	@install $(EDJS)  $(DATADIR)/edj

clean:
	@rm -f *.edj