Skip to content

Commit 6d486fc

Browse files
Makefile.am: attempting to simplify
1 parent 9b156f1 commit 6d486fc

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

Makefile.am

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,16 @@
1717
EXTRA_DIST = README.md LICENSE Configuration example.fq test
1818

1919
ACLOCAL_AMFLAGS = -I m4
20-
AM_CPPFLAGS = -I $(top_srcdir)/src
2120

22-
### ADS: use AM_CXXFLAGS if these are needed
23-
## AM_CXXFLAGS = -Wall -Wextra -Wpedantic -Wno-unknown-attributes
24-
25-
TESTS = test/falco.test
26-
TEST_EXTENSIONS = .test
27-
28-
bin_PROGRAMS = falco
29-
30-
falco_CXXFLAGS = $(OPENMP_CXXFLAGS) $(AM_CXXFLAGS)
31-
falco_CPPFLAGS = -DPROGRAM_PATH=\"$(abspath $(top_srcdir))\"
21+
# ADS: fix the order of user and project set vars; shouldn't need to worry about
22+
# setting CXXFLAGS in configure.ac
23+
AM_CXXFLAGS = -Wall -Wextra -Wpedantic
3224
if ENABLE_HTS
33-
falco_CPPFLAGS += -DUSE_HTS
25+
CPPFLAGS += -DUSE_HTS
3426
endif
3527

28+
bin_PROGRAMS = falco
29+
3630
falco_SOURCES = \
3731
src/falco.cpp \
3832
src/FastqStats.cpp \
@@ -52,4 +46,6 @@ falco_SOURCES = \
5246
src/smithlab_utils.hpp \
5347
src/aux.hpp
5448

49+
TESTS = test/falco.test
50+
TEST_EXTENSIONS = .test
5551
CLEANFILES = tests_build/test_data.tgz

0 commit comments

Comments
 (0)