summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--src/Makefile.am5
2 files changed, 6 insertions, 1 deletions
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 $@ $<
+