summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c6dcb3a..c5f876a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,18 +5,20 @@ libtestshlibrary_la_LDFLAGS = -version-info 0:0:0
lib_LIBRARIES = libtestlibrary.a
libtestlibrary_a_SOURCES = testlibrary.d
-# include_HEADERS = testshlibrary.di testlibrary.di
-
bin_PROGRAMS = helloworld
helloworld_SOURCES = helloworld.d catalog.d
helloworld_LDADD = $(DEPS_LIBS) $(top_srcdir)/config.d libtestlibrary.a testshlibrary.d libtestshlibrary.la -lunwind
+include_HEADERS = testshlibrary.di
+
DFLAGS += -I$(top_srcdir) -I$(srcdir)
.d.o:
$(GDC) $(DFLAGS) -c -o $@ $<
.d.so:
$(GDC) $(DFLAGS) -c -shared -fPIC -o $@ $<
+.d.di:
+ $(GDC) -S -fintfc $< && rm *.s
DISTCLEANFILES = \
Makefile.in