summaryrefslogtreecommitdiff
path: root/src/examples/eio/Makefile.examples
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/eio/Makefile.examples')
-rw-r--r--src/examples/eio/Makefile.examples15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/examples/eio/Makefile.examples b/src/examples/eio/Makefile.examples
new file mode 100644
index 0000000000..58070a92bd
--- /dev/null
+++ b/src/examples/eio/Makefile.examples
@@ -0,0 +1,15 @@
+CC=gcc
+COMMON_FLAGS=`pkg-config --libs --cflags ecore,eio`
+
+EXAMPLES= eio_file_copy \
+ eio_file_ls
+
+all: examples
+examples: $(EXAMPLES)
+
+$(EXAMPLES):
+ $(CC) -o $@ $@.c $(COMMON_FLAGS)
+
+clean:
+ @echo "Cleaning up built objects..."
+ @rm -Rf $(EXAMPLES)