Change order of targets in Makefiles for Colvars

This commit is contained in:
Giacomo Fiorin
2017-07-20 15:49:31 -04:00
parent 5031f5b807
commit c98f6140e7
3 changed files with 6 additions and 6 deletions

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)