summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-01-14 14:53:51 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-01-14 14:53:51 +0900
commitb62fada88967e2f736d73d28cf6c4c534acd75c8 (patch)
treeb1ff39fc8beafc432d4d847edc94b122c1f1486d /src
parente63c83205558ba60fb6743d19c1b4460d52074b5 (diff)
examples: fix compilation from command line (file models)
Diffstat (limited to 'src')
-rw-r--r--src/examples/filemvc.c9
-rw-r--r--src/examples/fileviewlist.c9
2 files changed, 13 insertions, 5 deletions
diff --git a/src/examples/filemvc.c b/src/examples/filemvc.c
index 73e22706a..2475d6926 100644
--- a/src/examples/filemvc.c
+++ b/src/examples/filemvc.c
@@ -1,6 +1,11 @@
1//#ifdef HAVE_CONFIG_H 1// gcc -o filemvc filemvc.c `pkg-config --cflags --libs elementary`
2
3#ifdef HAVE_CONFIG_H
2# include "../../elementary_config.h" 4# include "../../elementary_config.h"
3//#endif 5#else
6# define EFL_BETA_API_SUPPORT 1
7# define EFL_EO_API_SUPPORT 1
8#endif
4 9
5#include <Elementary.h> 10#include <Elementary.h>
6#include <Efl.h> 11#include <Efl.h>
diff --git a/src/examples/fileviewlist.c b/src/examples/fileviewlist.c
index 0b683566c..e50789333 100644
--- a/src/examples/fileviewlist.c
+++ b/src/examples/fileviewlist.c
@@ -1,9 +1,12 @@
1//Compile with: 1//Compile with:
2// gcc -o fileviewlist fileviewlist.c `pkg-config --cflags --libs emodel` 2// gcc -o fileviewlist fileviewlist.c `pkg-config --cflags --libs elementary`
3 3
4//#ifdef HAVE_CONFIG_H 4#ifdef HAVE_CONFIG_H
5# include "../../elementary_config.h" 5# include "../../elementary_config.h"
6//#endif 6#else
7# define EFL_BETA_API_SUPPORT 1
8# define EFL_EO_API_SUPPORT 1
9#endif
7 10
8#include <Elementary.h> 11#include <Elementary.h>
9#include <Efl.h> 12#include <Efl.h>