summaryrefslogtreecommitdiff
path: root/src/examples/elocation
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2014-10-28 17:35:05 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2014-11-11 11:10:12 +0100
commit61a27cbf7f47b0d4736df2e0037475b1085e3ac3 (patch)
treedfaa19c290320ae652fc42666afb4db728df471f /src/examples/elocation
parent1eb4ffcc4dc3bd84943767ed9b7a8da80153a1bb (diff)
examples/elocation: Add example makefile for elocation
To make the example worthwhile to run alone add a basic makefile for the example like we do for others.
Diffstat (limited to 'src/examples/elocation')
-rw-r--r--src/examples/elocation/Makefile.examples14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/examples/elocation/Makefile.examples b/src/examples/elocation/Makefile.examples
new file mode 100644
index 0000000000..20ab2b2628
--- /dev/null
+++ b/src/examples/elocation/Makefile.examples
@@ -0,0 +1,14 @@
1CC=gcc
2COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,eldbus,elocation`
3
4EXAMPLES= elocation
5
6all: examples
7examples: $(EXAMPLES)
8
9$(EXAMPLES):
10 $(CC) -o $@ $@.c $(COMMON_FLAGS)
11
12clean:
13 @echo "Cleaning up built objects..."
14 @rm -Rf $(EXAMPLES)