diff --git a/Makefile.am b/Makefile.am
index 87eaf5af0..25ef552ce 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1225,6 +1225,15 @@ test_test_queue_priority_SOURCES = \
 test_test_queue_priority_LDADD = \
 	$(GLIB_LIBS)
 
+if HAVE_CXX
+noinst_PROGRAMS += src/dsd2pcm/dsd2pcm
+
+src_dsd2pcm_dsd2pcm_SOURCES = \
+	src/dsd2pcm/dsd2pcm.c src/dsd2pcm/dsd2pcm.h \
+	src/dsd2pcm/noiseshape.c src/dsd2pcm/noiseshape.h \
+	src/dsd2pcm/main.cpp
+endif
+
 endif