Skip to content

Commit

Permalink
fixing the configure
Browse files Browse the repository at this point in the history
  • Loading branch information
muschellij2 committed Mar 31, 2021
1 parent 5487e7a commit f25a622
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ Title: Robust Brain Extraction ('ROBEX')
Description: Wrapper for Robust Brain Extraction ('ROBEX') algorithm
<DOI:10.1109/TMI.2011.2138152>. Provides the binary distributions
from 'NITRC'.
Authors@R: structure(list(structure(list(given = "John", family = "Muschelli",
role = c("aut", "cre"), email = "muschellij2@gmail.com"),
.Names = c("given", "family", "role", "email"))),
class = "person")
Authors@R: c(
person(given = "John", family = "Muschelli",
role = c("aut", "cre"), email = "muschellij2@gmail.com")
)
Maintainer: John Muschelli <muschellij2@gmail.com>
License: BSD_2_clause + file LICENSE
Suggests:
Expand Down
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ mkdir -p src
cd src/

# make sure these are tabs
echo "PKG_CXXFLAGS=-Wno-inconsistent-missing-override -Wunused-result" > Makefile
echo "PKG_CFLAGS=-Wno-inconsistent-missing-override -Wunused-result" >> Makefile
echo "PKG_CXXFLAGS=-Wno-inconsistent-missing-override -Wno-unused-result -Wformat-overflow=2" > Makefile
echo "PKG_CFLAGS=-Wno-inconsistent-missing-override -Wno-unused-result -Wformat-overflow=2" >> Makefile
echo "ROBEX: build" >> Makefile
echo " cd build && make && chmod +x ROBEX && cp ROBEX ../../inst/ && rm -rf ../build/*" >> Makefile
echo "clean:" >> Makefile
Expand Down
4 changes: 2 additions & 2 deletions configure.win
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ mkdir -p src
cd src/

# make sure these are tabs
echo "PKG_CXXFLAGS=-Wno-inconsistent-missing-override -Wunused-result" > Makefile.win
echo "PKG_CFLAGS=-Wno-inconsistent-missing-override -Wunused-result" >> Makefile.win
echo "PKG_CXXFLAGS=-Wno-inconsistent-missing-override -Wno-unused-result -Wformat-overflow=2" > Makefile.win
echo "PKG_CFLAGS=-Wno-inconsistent-missing-override -Wno-unused-result -Wformat-overflow=2" >> Makefile.win
echo "ROBEX.exe: build" >> Makefile.win
echo " cd build && mingw32-make.exe && chmod +x ROBEX.exe && cp ROBEX.exe ../../inst/ && rm -rf ../build/*" >> Makefile.win
echo "clean:" >> Makefile.win
Expand Down

0 comments on commit f25a622

Please sign in to comment.