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

EDJ=layout.edj
EDJE_CC = edje_cc
EDJE_FLAGS = -id ../images

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

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

clean:
	@rm -f *.edj