Commit 80b90f27 authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@509 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent e8ce065a
Loading
Loading
Loading
Loading
+19 −7
Original line number Diff line number Diff line
@@ -42,19 +42,21 @@ makelist:
# Packages

package:
	@echo 'Available packages: class2, dpd, granular, kspace, manybody,'
	@echo 'Available packages:'
	@echo '  asphere, class2, dpd, granular, kspace, manybody,'
	@echo '  meam, molecule, opt, poems, xtc'
	@echo '  "make yes-name"   include a package'
	@echo '  "make no-name"    exclude a package'
	@echo '  "make yes-all"    include all packages'
	@echo '  "make no-all"     exclude all packages'
	@echo 'make yes-name     to include a package'
	@echo 'make no-name      to exclude a package'
	@echo 'make yes-all      to include all packages'
	@echo 'make no-all       to exclude all packages'

yes-all:
	make yes-class2 yes-dpd yes-granular yes-kspace \
	make yes-asphere yes-class2 yes-dpd yes-granular yes-kspace \
	yes-manybody yes-meam yes-molecule yes-opt yes-poems yes-xtc

no-all:
	@echo 'Removing files, ignore any rm errors ...'
	@cd ASPHERE; csh -f Install.csh 0
	@cd CLASS2; csh -f Install.csh 0
	@cd DPD; csh -f Install.csh 0
	@cd GRANULAR; csh -f Install.csh 0
@@ -67,6 +69,13 @@ no-all:
	@cd XTC; csh -f Install.csh 0
	@make clean

yes-asphere:
	@cd ASPHERE; csh -f Install.csh 1
no-asphere:
	@echo 'Removing files, ignore any rm errors ...'
	@cd ASPHERE; csh -f Install.csh 0
	@make clean

yes-class2:
	@cd CLASS2; csh -f Install.csh 1
no-class2:
@@ -140,6 +149,7 @@ no-xtc:
# update src files with package files

package-update:
	@csh -f Package.csh ASPHERE update
	@csh -f Package.csh CLASS2 update
	@csh -f Package.csh DPD update
	@csh -f Package.csh GRANULAR update
@@ -154,6 +164,7 @@ package-update:
# overwrite package files with src files

package-overwrite:
	@csh -f Package.csh ASPHERE overwrite
	@csh -f Package.csh CLASS2 overwrite
	@csh -f Package.csh DPD overwrite
	@csh -f Package.csh GRANULAR overwrite
@@ -168,6 +179,7 @@ package-overwrite:
# check differences between src and pacakge files

package-check:
	@csh -f Package.csh ASPHERE check
	@csh -f Package.csh CLASS2 check
	@csh -f Package.csh DPD check
	@csh -f Package.csh GRANULAR check