Skip to content

Commit

Permalink
use top_srcdir
Browse files Browse the repository at this point in the history
  • Loading branch information
shaomingfu committed Apr 11, 2020
1 parent ba4cbee commit 6e2cd7a
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions gtfalign/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bin_PROGRAMS=gtfalign

gtfalign_CPPFLAGS = -I../lib/gtf
gtfalign_LDFLAGS = -L../lib/gtf
gtfalign_CPPFLAGS = -I$(top_srcdir)/lib/gtf
gtfalign_LDFLAGS = -L$(top_srcdir)/lib/gtf
gtfalign_LDADD = -lgtf

gtfalign_SOURCES = genome1.h genome1.cc \
Expand Down
4 changes: 2 additions & 2 deletions gtfcuff/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bin_PROGRAMS=gtfcuff

gtfcuff_CPPFLAGS = -I../lib/gtf
gtfcuff_LDFLAGS = -L../lib/gtf
gtfcuff_CPPFLAGS = -I$(top_srcdir)/lib/gtf
gtfcuff_LDFLAGS = -L$(top_srcdir)/lib/gtf
gtfcuff_LDADD = -lgtf

gtfcuff_SOURCES = gtfcuff.h gtfcuff.cc \
Expand Down
4 changes: 2 additions & 2 deletions gtfformat/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bin_PROGRAMS=gtfformat

gtfformat_CPPFLAGS = -I../lib/gtf
gtfformat_LDFLAGS = -L../lib/gtf
gtfformat_CPPFLAGS = -I$(top_srcdir)/lib/gtf
gtfformat_LDFLAGS = -L$(top_srcdir)/lib/gtf
gtfformat_LDADD = -lgtf

gtfformat_SOURCES = main.cc \
Expand Down
4 changes: 2 additions & 2 deletions gtfmerge/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bin_PROGRAMS=gtfmerge

gtfmerge_CPPFLAGS = -pthread -I../lib/gtf -std=c++11
gtfmerge_LDFLAGS = -L../lib/gtf -pthread
gtfmerge_CPPFLAGS = -pthread -I$(top_srcdir)/lib/gtf -std=c++11
gtfmerge_LDFLAGS = -L$(top_srcdir)/lib/gtf -pthread
gtfmerge_LDADD = -lgtf

gtfmerge_SOURCES = genome1.h genome1.cc \
Expand Down
4 changes: 2 additions & 2 deletions gtfquant/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bin_PROGRAMS=gtfquant

gtfquant_CPPFLAGS = -I../lib/gtf
gtfquant_LDFLAGS = -L../lib/gtf
gtfquant_CPPFLAGS = -I$(top_srcdir)/lib/gtf
gtfquant_LDFLAGS = -L$(top_srcdir)/lib/gtf
gtfquant_LDADD = -lgtf

gtfquant_SOURCES = gtfquant.h gtfquant.cc \
Expand Down
4 changes: 2 additions & 2 deletions gtfsimulator/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bin_PROGRAMS=gtfsimulator

gtfsimulator_CPPFLAGS = -I../lib/gtf -I../lib/util
gtfsimulator_LDFLAGS = -L../lib/gtf -L../lib/util
gtfsimulator_CPPFLAGS = -I$(top_srcdir)/lib/gtf -I$(top_srcdir)/lib/util
gtfsimulator_LDFLAGS = -L$(top_srcdir)/lib/gtf -L$(top_srcdir)/lib/util
gtfsimulator_LDADD = -lgtf -lutil

gtfsimulator_SOURCES = main.cc \
Expand Down
2 changes: 1 addition & 1 deletion lib/gtf/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
noinst_LIBRARIES = libgtf.a

UTILDIR = ../util
UTILDIR = $(top_srcdir)/lib/util

libgtf_a_CPPFLAGS = -I$(UTILDIR)

Expand Down

0 comments on commit 6e2cd7a

Please sign in to comment.