forked from lijiext/lammps
26 lines
449 B
Makefile
26 lines
449 B
Makefile
|
# -*- makefile -*- to build Colvars module with default MPI compiler wrapper
|
||
|
|
||
|
EXTRAMAKE = Makefile.lammps.empty
|
||
|
|
||
|
COLVARS_LIB = libcolvars.a
|
||
|
COLVARS_OBJ_DIR =
|
||
|
|
||
|
CXX = mpicxx
|
||
|
CXXFLAGS = -O2 -g -Wall -fPIC -funroll-loops
|
||
|
AR = ar
|
||
|
ARFLAGS = -rscv
|
||
|
SHELL = /bin/sh
|
||
|
|
||
|
.PHONY: default clean
|
||
|
|
||
|
default: $(COLVARS_LIB) Makefile.lammps
|
||
|
|
||
|
include Makefile.common
|
||
|
|
||
|
clean:
|
||
|
-rm -f $(COLVARS_OBJS) $(COLVARS_LIB)
|
||
|
|
||
|
Makefile.lammps:
|
||
|
-cp $(EXTRAMAKE) Makefile.lammps
|
||
|
|