Skip to content

Commit 26264cf

Browse files
Makefile.am: updating the Makefile.am for organization and compile options
1 parent 5a1f5a6 commit 26264cf

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

Makefile.am

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,19 @@
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 -O3 -DNDEBUG # default has optimization on
29+
1730
EXTRA_DIST = \
1831
README.md \
1932
code_of_conduct.md \
@@ -87,19 +100,6 @@ EXTRA_DIST = \
87100
test_scripts/test_diff.test \
88101
test_scripts/test_mlml.test
89102

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-
103103
### ADS: Testing with `make check` can be a long process. Testing with
104104
### `make check` is designed to work recursively. Modifying this
105105
### behavior requires overriding build-in rules which generates

0 commit comments

Comments
 (0)