--- trunk/OOPSE-3.0/make/Makefile.in 2005/11/18 17:50:17 2456 +++ trunk/OOPSE-3.0/make/Makefile.in 2005/12/02 15:38:25 2470 @@ -52,8 +52,9 @@ PackageLibs = \ selection \ restraints \ lattice \ - openbabel - + openbabel\ + antlr\ + mdParser #packages containing applications Applications = \ applications/oopse \ @@ -420,6 +421,10 @@ endif InstallFiles = $(Executable) endif InstallCommand = $(InstallProgram) + ifneq "$(words $(LinkTargets))" "0" + MyLinkSource = $(patsubst %, $(MyInstallDir)/%,$(Main)) + MyLinkTargets = $(patsubst %, $(MyInstallDir)/%,$(LinkTargets)) + endif endif ifneq "$(words $(ForcefieldFiles))" "0" @@ -815,10 +820,9 @@ _installlinks : $(MyInstallDir) endif _installlinks : $(MyInstallDir) - $(Print) $(LinkTargets) -ifneq "$(words $(LinkTargets))" "0" +ifneq "$(words $(MyLinkTargets))" "0" @cd $(MyInstallDir) - $(foreach thisLink,$(LinkTargets),$(call do_link,$(Executable),$(thisLink))) + $(foreach thisLink,$(MyLinkTargets),$(call do_link,$(MyLinkSource),$(thisLink))) endif # make statistics