AM_CPPFLAGS = \
@GLIB_CFLAGS@ \
-I$(top_srcdir) -I$(top_builddir) \
- -I$(top_srcdir)/src -I$(top_builddir)/src \
+ -I$(top_srcdir)/src/parser -I$(top_builddir)/src/parser \
+ -I$(top_srcdir)/src/curl -I$(top_builddir)/src/curl \
-I$(top_srcdir)/example -I$(top_builddir)/example
bin_PROGRAMS = vcard-example
vcard_example_SOURCES = \
- vcard-example
-
-vcard_example_LDFLAGS = \
- -L$(top_srcdir)/src/
+ vcard-example.c
vcard_example_LDADD = \
- $(GLIB_LIBS) \
- -lvCard
+ $(top_srcdir)/src/parser/libvcard.a \
+ $(top_srcdir)/src/curl/libcurl.a \
+ @GLIB_LIBS@ \
+ @CURL_LIBS@