Skip to content

Commit

Permalink
Merge pull request #42 from smithlabcode/build-config-update
Browse files Browse the repository at this point in the history
Makefile.am: moving the parts of CXXFLAGS needed for building into AM_CXXFLAGS so users can replace the CXXFLAGS on the command line
  • Loading branch information
andrewdavidsmith authored Oct 8, 2023
2 parents b990b63 + b657a13 commit 09ca6f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ SUBDIRS := src/smithlab_cpp
install installdirs: SUBDIRS := $(filter-out src/smithlab_cpp, $(SUBDIRS))
AM_CPPFLAGS = -I $(top_srcdir)/src/smithlab_cpp -I $(top_srcdir)/src/bamxx

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

noinst_LIBRARIES = libabismal.a

Expand Down

0 comments on commit 09ca6f7

Please sign in to comment.