Skip to content

Commit

Permalink
add correct command substitution to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dweber2022 committed Jul 9, 2024
1 parent e5fa45e commit 107af26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ init:
mkdir build installed; \
cd build; \
cmake -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10 -DCMAKE_INSTALL_PREFIX=../installed -DBUILD_GUI=OFF -DEIGEN3_INCLUDE_DIR=../eigen ..; \
make -j6 || exit 2; \
make -j$$(nproc) || exit 2; \
make install; \
cd ../../; \
mkdir bin; \
cd bin; \
cmake -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10 -DOpenBabel2_DIR=../openbabel/build ../src/; \
make -j6
make -j$$(nproc)
# Sets up all the cmake details, so that usage is as simple as
# `bin/sbu MOF.cif` and re-compilation is as easy as `make exe`

Expand Down

0 comments on commit 107af26

Please sign in to comment.