Skip to content

Commit 72ec786

Browse files
Merge pull request #218 from smithlabcode/makefile-am-updates
makefile am updates
2 parents 5a1f5a6 + 60fd632 commit 72ec786

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

Makefile.am

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,20 @@
1414
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1515
# General Public License for more details.
1616

17+
### ADS: the file md5sum.txt can be regenerated by running the tests
18+
### with "make check" and then doing `md5sum tests/* > md5sum.txt`
19+
### from the build directory.
20+
21+
ACLOCAL_AMFLAGS = -I m4
22+
23+
SUBDIRS := src/smithlab_cpp src/abismal
24+
install installdirs: SUBDIRS := $(filter-out src/smithlab_cpp src/abismal, $(SUBDIRS))
25+
AM_CPPFLAGS = -I $(top_srcdir)/src/common -I $(top_srcdir)/src/smithlab_cpp -I $(top_srcdir)/src/bamxx
26+
27+
AM_CXXFLAGS = $(OPENMP_CXXFLAGS)
28+
CXXFLAGS = -Wall -Wextra -Wpedantic -Wno-unknown-attributes
29+
CXXFLAGS += -O3 -DNDEBUG # default has optimization on
30+
1731
EXTRA_DIST = \
1832
README.md \
1933
code_of_conduct.md \
@@ -87,19 +101,6 @@ EXTRA_DIST = \
87101
test_scripts/test_diff.test \
88102
test_scripts/test_mlml.test
89103

90-
### ADS: the file md5sum.txt can be regenerated by running the tests
91-
### with "make check" and then doing `md5sum tests/* > md5sum.txt`
92-
### from the build directory.
93-
94-
ACLOCAL_AMFLAGS = -I m4
95-
96-
SUBDIRS := src/smithlab_cpp src/abismal
97-
install installdirs: SUBDIRS := $(filter-out src/smithlab_cpp src/abismal, $(SUBDIRS))
98-
AM_CPPFLAGS = -I $(top_srcdir)/src/common -I $(top_srcdir)/src/smithlab_cpp -I $(top_srcdir)/src/bamxx
99-
100-
AM_CXXFLAGS = $(OPENMP_CXXFLAGS)
101-
CXXFLAGS = -Wall -O3 # default has optimization on
102-
103104
### ADS: Testing with `make check` can be a long process. Testing with
104105
### `make check` is designed to work recursively. Modifying this
105106
### behavior requires overriding build-in rules which generates

0 commit comments

Comments
 (0)