Merge branch 'colvars-safer-makefiles' of https://github.com/giacomofiorin/lammps into colvars-quickfix

This commit is contained in:
Axel Kohlmeyer 2017-07-20 15:59:23 -04:00
commit 1b704bab18
4 changed files with 13 additions and 13 deletions

View File

@ -1,12 +1,12 @@
# Shared -*- makefile -*- for multiple architectures
# Detect settings from PYTHON package (if defined)
sinclude ../../src/Makefile.package.settings
ifeq ($(python_SYSINC),)
COLVARS_PYTHON_INCFLAGS =
else
COLVARS_PYTHON_INCFLAGS = -DCOLVARS_PYTHON $(python_SYSINC)
endif
# # Detect settings from PYTHON package (if defined)
# sinclude ../../src/Makefile.package.settings
# ifeq ($(python_SYSINC),)
# COLVARS_PYTHON_INCFLAGS =
# else
# COLVARS_PYTHON_INCFLAGS = -DCOLVARS_PYTHON $(python_SYSINC)
# endif
# Detect debug settings
ifeq ($(COLVARS_DEBUG),)

View File

@ -11,12 +11,12 @@ AR = ar
ARFLAGS = -rscv
SHELL = /bin/sh
include Makefile.common
.PHONY: default clean
default: $(COLVARS_LIB) Makefile.lammps
include Makefile.common
clean:
-rm -f $(COLVARS_OBJS) $(COLVARS_LIB)

View File

@ -14,12 +14,12 @@ AR = i686-w64-mingw32-ar
ARFLAGS = -rscv
SHELL = /bin/sh
include Makefile.common
.PHONY: default clean
default: $(COLVARS_OBJ_DIR) $(COLVARS_LIB) Makefile.lammps
include Makefile.common
$(COLVARS_OBJ_DIR):
mkdir $(COLVARS_OBJ_DIR)

View File

@ -14,12 +14,12 @@ AR = x86_64-w64-mingw32-ar
ARFLAGS = -rscv
SHELL = /bin/sh
include Makefile.common
.PHONY: default clean
default: $(COLVARS_OBJ_DIR) $(COLVARS_LIB) Makefile.lammps
include Makefile.common
$(COLVARS_OBJ_DIR):
mkdir $(COLVARS_OBJ_DIR)