Skip to content

Commit

Permalink
Merge pull request #218 from smithlabcode/makefile-am-updates
Browse files Browse the repository at this point in the history
makefile am updates
  • Loading branch information
andrewdavidsmith authored Jun 2, 2024
2 parents 5a1f5a6 + 60fd632 commit 72ec786
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,20 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.

### ADS: the file md5sum.txt can be regenerated by running the tests
### with "make check" and then doing `md5sum tests/* > md5sum.txt`
### from the build directory.

ACLOCAL_AMFLAGS = -I m4

SUBDIRS := src/smithlab_cpp src/abismal
install installdirs: SUBDIRS := $(filter-out src/smithlab_cpp src/abismal, $(SUBDIRS))
AM_CPPFLAGS = -I $(top_srcdir)/src/common -I $(top_srcdir)/src/smithlab_cpp -I $(top_srcdir)/src/bamxx

AM_CXXFLAGS = $(OPENMP_CXXFLAGS)
CXXFLAGS = -Wall -Wextra -Wpedantic -Wno-unknown-attributes
CXXFLAGS += -O3 -DNDEBUG # default has optimization on

EXTRA_DIST = \
README.md \
code_of_conduct.md \
Expand Down Expand Up @@ -87,19 +101,6 @@ EXTRA_DIST = \
test_scripts/test_diff.test \
test_scripts/test_mlml.test

### ADS: the file md5sum.txt can be regenerated by running the tests
### with "make check" and then doing `md5sum tests/* > md5sum.txt`
### from the build directory.

ACLOCAL_AMFLAGS = -I m4

SUBDIRS := src/smithlab_cpp src/abismal
install installdirs: SUBDIRS := $(filter-out src/smithlab_cpp src/abismal, $(SUBDIRS))
AM_CPPFLAGS = -I $(top_srcdir)/src/common -I $(top_srcdir)/src/smithlab_cpp -I $(top_srcdir)/src/bamxx

AM_CXXFLAGS = $(OPENMP_CXXFLAGS)
CXXFLAGS = -Wall -O3 # default has optimization on

### ADS: Testing with `make check` can be a long process. Testing with
### `make check` is designed to work recursively. Modifying this
### behavior requires overriding build-in rules which generates
Expand Down

0 comments on commit 72ec786

Please sign in to comment.