Commit 710ad13dfc4e3fbf9f37b39a7f58898b909651b6
1 parent
10f4411a
Make sure that example/cpp files get compiled for 'make check'
Showing
2 changed files
with
4 additions
and
1 deletions
Makefile.am
| @@ -9,7 +9,7 @@ INST_DIR = inst | @@ -9,7 +9,7 @@ INST_DIR = inst | ||
| 9 | endif | 9 | endif |
| 10 | 10 | ||
| 11 | # Subdirectories | 11 | # Subdirectories |
| 12 | -SUBDIRS = include $(INST_DIR) src pyext test examples | 12 | +SUBDIRS = include $(INST_DIR) src pyext examples test |
| 13 | 13 | ||
| 14 | # Pkgconfig directory | 14 | # Pkgconfig directory |
| 15 | pkgconfigdir = $(libdir)/pkgconfig | 15 | pkgconfigdir = $(libdir)/pkgconfig |
examples/cpp/Makefile.am
| @@ -16,6 +16,9 @@ bin_PROGRAMS = createfits \ | @@ -16,6 +16,9 @@ bin_PROGRAMS = createfits \ | ||
| 16 | optimize \ | 16 | optimize \ |
| 17 | readmodel | 17 | readmodel |
| 18 | 18 | ||
| 19 | +# Test programs (needed so that files are compiled for 'make check') | ||
| 20 | +check_PROGRAMS = $(bin_PROGRAMS) | ||
| 21 | + | ||
| 19 | # Program definition | 22 | # Program definition |
| 20 | createfits_SOURCES = createfits.cpp | 23 | createfits_SOURCES = createfits.cpp |
| 21 | createfits_LDFLAGS = @LDFLAGS@ | 24 | createfits_LDFLAGS = @LDFLAGS@ |