mirror of https://github.com/lammps/lammps.git
19 lines
378 B
Makefile
19 lines
378 B
Makefile
SHELL = /bin/sh
|
|
|
|
# which file will be copied to Makefile.lammps
|
|
|
|
EXTRAMAKE = Makefile.lammps.empty
|
|
|
|
# ------ MAKE PROCEDURE ------
|
|
|
|
lib: $(OBJ)
|
|
mkdir -p build
|
|
cd build; cmake -Dlibtype=SHARED -Dlanguage=C -D CMAKE_C_COMPILER=icc -D CMAKE_CXX_COMPILER=icc ../MDI_Library; make
|
|
@cp $(EXTRAMAKE) Makefile.lammps
|
|
|
|
# ------ CLEAN ------
|
|
|
|
clean:
|
|
-rm *.o *.h $(LIB)
|
|
-rm -r build
|