Skip to content

Commit

Permalink
restore GNU make build capability for ML-PACE
Browse files Browse the repository at this point in the history
  • Loading branch information
akohlmey committed Oct 10, 2023
1 parent c0ace4a commit 2b1985f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/pace/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
SHELL = /bin/sh
CMAKE= cmake

# ------ FILES ------

Expand Down Expand Up @@ -35,7 +36,7 @@ lib: $(OBJ) lib-yaml-cpp


lib-yaml-cpp:
cd $(YAML_CPP_PATH) && $(MAKE) lib
cd $(YAML_CPP_PATH) && $(CMAKE) . && $(MAKE) all

# ------ COMPILE RULES ------

Expand All @@ -45,9 +46,8 @@ lib-yaml-cpp:
# ------ CLEAN ------
clean-all:
-rm -f *~ $(OBJ) $(LIB)
cd $(YAML_CPP_PATH) && $(MAKE) clean-all
cd $(YAML_CPP_PATH) && $(MAKE) clean

clean-build:
-rm -f *~ $(OBJ)
cd $(YAML_CPP_PATH) && $(MAKE) clean-build

2 changes: 1 addition & 1 deletion lib/pace/Makefile.lammps
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pace_SYSINC =-I../../lib/pace/src/ML-PACE -I../../lib/pace/src/yaml-cpp/include -I../../lib/pace/src/wigner-cpp/include -DEXTRA_C_PROJECTIONS
pace_SYSLIB = -L../../lib/pace/ -lpace -L../../lib/pace/src/yaml-cpp/ -lyaml-cpp
pace_SYSLIB = -L../../lib/pace/ -lpace -L../../lib/pace/src/yaml-cpp/ -lyaml-cpp-pace
pace_SYSPATH =

0 comments on commit 2b1985f

Please sign in to comment.