Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
legacy
bedtools2
Commits
7b280604
Commit
7b280604
authored
May 12, 2015
by
John Marshall
Browse files
Minor makefile improvments
Don't rebuild FileRecordTools/FileRecord*.o every time. Clean version_git.h.
parent
50157024
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
7b280604
...
...
@@ -145,7 +145,7 @@ $(UTIL_SUBDIRS) $(SUBDIRS): $(OBJ_DIR) $(BIN_DIR)
clean
:
@
$(MAKE)
--no-print-directory
--directory
=
$(BT_ROOT)
clean_api
@
echo
" * Cleaning up."
@
rm
-f
$(OBJ_DIR)
/
*
$(BIN_DIR)
/
*
@
rm
-f
$(VERSION_FILE)
$(OBJ_DIR)
/
*
$(BIN_DIR)
/
*
.PHONY
:
clean
test
:
all
...
...
src/utils/FileRecordTools/Makefile
View file @
7b280604
...
...
@@ -28,7 +28,10 @@ _EXT_OBJECTS=SingleLineDelimTextFileReader.o BamFileReader.o Bed3Interval.o Bed6
EXT_OBJECTS
=
$(
patsubst
%,
$(OBJ_DIR)
/%,
$(_EXT_OBJECTS)
)
BUILT_OBJECTS
=
$(
patsubst
%,
$(OBJ_DIR)
/%,
$(OBJECTS)
)
$(BUILT_OBJECTS)
:
$(SOURCES) $(SUBDIRS)
all
:
$(BUILT_OBJECTS) $(SUBDIRS)
.PHONY
:
all
$(BUILT_OBJECTS)
:
$(SOURCES)
@
echo
" * compiling FileRecordMgr.cpp"
@
$(CXX)
-c
-o
$(OBJ_DIR)
/FileRecordMgr.o FileRecordMgr.cpp
$(LDFLAGS)
$(CXXFLAGS)
$(INCLUDES)
@
echo
" * compiling FileRecordMergeMgr.cpp"
...
...
@@ -48,4 +51,4 @@ clean:
@
rm
-f
$(OBJ_DIR)
/FileRecordMergeMgr.o
.PHONY
:
clean
\ No newline at end of file
.PHONY
:
clean
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment