From 86ad182945bb11c653dc1c407d8745f47b29427d Mon Sep 17 00:00:00 2001 From: mszulecki Date: Wed, 21 Feb 2007 22:40:39 +0000 Subject: Add shared object rules and add phobos check lib note. git-svn-id: http://svn.sukimashita.com/repos/dskel/trunk@7 4281df72-ff29-0410-8fee-2d9ac0c5f5a7 --- configure.ac | 2 ++ src/Makefile.am | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 01a7375..21c7cd5 100644 --- a/configure.ac +++ b/configure.ac @@ -23,6 +23,8 @@ fi AC_SUBST(GDC) +dnl TODO: Check for Phobos Library + dnl TODO: Check for duit GTK+ D Bindings AC_SUBST(DEPS_CFLAGS) AC_SUBST(DEPS_LIBS) diff --git a/src/Makefile.am b/src/Makefile.am index 10ed9b5..48a7307 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -9,4 +9,7 @@ helloworld_LINK = $(GDC) -o helloworld AM_CPPFLAGS = $(DEPS_CFLAGS) .d.o: - $(GDC) -c -o $@ $< + $(GDC) $(DFLAGS) -c -o $@ $< +.d.so: + $(GDC) $(DFLAGS) -c -shared -fPIC -o $@ $< + -- cgit v1.1-32-gdbae