Skip to content

Commit

Permalink
update to use build dir in include path
Browse files Browse the repository at this point in the history
this doesn't seem necessary on other systems, but in my exploration of compiling on WSL, this helped in finding the right headers
  • Loading branch information
Sawwave committed Feb 27, 2024
1 parent 8eed250 commit 6bbeea8
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion test/backtraceTest/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3
LDFLAGS = -L../../build
LDLIBS = -lfastavector_static -ldivsufsort64
LDLIBS = -lfastavector_static -ldivsufsort64 -I../../build/

EXE = backtraceTest.out

Expand Down
2 changes: 1 addition & 1 deletion test/bwtTest/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TEST_SRC = bwtTest.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a -I../../build/

EXE = bwtTest.out

Expand Down
2 changes: 1 addition & 1 deletion test/createTests/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TEST_SRC = AwFmCreationTest.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a -I../../build/

EXE = createTest.out

Expand Down
2 changes: 1 addition & 1 deletion test/fileTests/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TEST_SRC = AwFmFileTests.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a -I../../build/

EXE = fileTests.out

Expand Down
2 changes: 1 addition & 1 deletion test/inMemorySaTest/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TEST_SRC = inMemorySaTest.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a -I../../build/

EXE = saInMemTest.out

Expand Down
2 changes: 1 addition & 1 deletion test/kmerSeedTableTests/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TEST_SRC = kmerSeedTableTests.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a -I../../build/

EXE = kmerSeedTableTests.out

Expand Down
2 changes: 1 addition & 1 deletion test/letterTest/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TEST_SRC = AwFmLetterTest.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3
LDLIBS = ../../lib/FastaVector/build/libfastavector_static.a ../../lib/libdivsufsort/build/lib/libdivsufsort64.a
LDLIBS = ../../lib/FastaVector/build/libfastavector_static.a ../../lib/libdivsufsort/build/lib/libdivsufsort64.a -I../../build/

EXE = letterTest.out

Expand Down
2 changes: 1 addition & 1 deletion test/multiSequenceIndexTest/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TEST_SRC = AwFmMultiSequenceTest.c
SRC = $(wildcard ../../src/*.c) $(wildcard ../../lib/FastaVector/src/*.c)

CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O0 -g
LDLIBS = ../../build/libdivsufsort64.a
LDLIBS = ../../build/libdivsufsort64.a -I../../build/

EXE = multiSequenceTest.out

Expand Down
2 changes: 1 addition & 1 deletion test/occurrenceTests/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TEST_SRC = occurrenceTests.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O0 -g
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a -I../../build/

EXE = occurrenceTests.out

Expand Down
2 changes: 1 addition & 1 deletion test/parallelSearch/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TEST_SRC = parallelSearchTest.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O0 -g
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a -I../../build/

EXE = parallelSearchTest.out

Expand Down
2 changes: 1 addition & 1 deletion test/searchTest/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TEST_SRC = searchTest.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O0 -g
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a -I../../build/

EXE = searchTest.out

Expand Down
2 changes: 1 addition & 1 deletion test/sharedLibTest/makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TEST_SRC = awfmiTest.c

CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3
LDLIBS = -lawfmindex
LDLIBS = -lawfmindex -I../../build/

EXE = sharedLibTest.out

Expand Down
2 changes: 1 addition & 1 deletion test/staticLibTest/makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TEST_SRC = awfmiTest.c

CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3
LDFLAGS = -L../../build
LDFLAGS = -L../../build -I../../build/
LDLIBS = -lawfmindex

EXE = staticLibTest.out
Expand Down
2 changes: 1 addition & 1 deletion test/suffixArrayCompressionTests/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TEST_SRC = saTest.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O0 -g
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a -I../../build/

EXE = saTest.out

Expand Down

0 comments on commit 6bbeea8

Please sign in to comment.