summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 48a7307..c68ffec 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,12 +4,14 @@ bin_PROGRAMS = helloworld
helloworld_SOURCES = helloworld.d
helloworld_LDADD = $(DEPS_LIBS)
-helloworld_LINK = $(GDC) -o helloworld
+helloworld_LINK = $(GDC) $(DFLAGS) -o helloworld $(top_srcdir)/config.d
AM_CPPFLAGS = $(DEPS_CFLAGS)
.d.o:
- $(GDC) $(DFLAGS) -c -o $@ $<
+ $(GDC) $(DFLAGS) -I$(top_srcdir) -c -o $@ $<
.d.so:
- $(GDC) $(DFLAGS) -c -shared -fPIC -o $@ $<
+ $(GDC) $(DFLAGS) -I$(top_srcdir) -c -shared -fPIC -o $@ $<
+DISTCLEANFILES = \
+ Makefile.in