Commit 710ad13dfc4e3fbf9f37b39a7f58898b909651b6

Authored by Jürgen Knödlseder
1 parent 10f4411a

Make sure that example/cpp files get compiled for 'make check'

Makefile.am
... ... @@ -9,7 +9,7 @@ INST_DIR = inst
9 9 endif
10 10  
11 11 # Subdirectories
12   -SUBDIRS = include $(INST_DIR) src pyext test examples
  12 +SUBDIRS = include $(INST_DIR) src pyext examples test
13 13  
14 14 # Pkgconfig directory
15 15 pkgconfigdir = $(libdir)/pkgconfig
... ...
examples/cpp/Makefile.am
... ... @@ -16,6 +16,9 @@ bin_PROGRAMS = createfits \
16 16 optimize \
17 17 readmodel
18 18  
  19 +# Test programs (needed so that files are compiled for 'make check')
  20 +check_PROGRAMS = $(bin_PROGRAMS)
  21 +
19 22 # Program definition
20 23 createfits_SOURCES = createfits.cpp
21 24 createfits_LDFLAGS = @LDFLAGS@
... ...