62 |
|
applications/dynamicProps \ |
63 |
|
applications/simpleBuilder\ |
64 |
|
applications/nanoRodBuilder \ |
65 |
< |
applications/mdinConverter |
65 |
> |
applications/atom2mdin |
66 |
|
|
67 |
|
Samples = \ |
68 |
|
samples/argon \ |
335 |
|
CppCompiler = @CXX@ |
336 |
|
Linker = @CXX@ |
337 |
|
MakeDepend = makedepend |
338 |
+ |
LN_S = @LN_S@ |
339 |
|
INSTALL = @INSTALL@ |
340 |
|
InstallProgram = @INSTALL_PROGRAM@ |
341 |
|
InstallScript = @INSTALL_SCRIPT@ |
420 |
|
InstallFiles = $(Executable) |
421 |
|
endif |
422 |
|
InstallCommand = $(InstallProgram) |
423 |
+ |
ifneq "$(words $(LinkTargets))" "0" |
424 |
+ |
MyLinkSource = $(patsubst %, $(MyInstallDir)/%,$(Main)) |
425 |
+ |
MyLinkTargets = $(patsubst %, $(MyInstallDir)/%,$(LinkTargets)) |
426 |
+ |
endif |
427 |
|
endif |
428 |
|
|
429 |
|
ifneq "$(words $(ForcefieldFiles))" "0" |
647 |
|
create_archive = $(shell $(StaticArchiver) $(StaticArchiverOptions) $(2) $(call find_objs, $(1))) |
648 |
|
remove_objs = $(shell $(Delete) $(call find_objs, $(1))) |
649 |
|
do_create = $(call extract_objs,$(1))$(call create_archive,$(1),$(2))$(call remove_objs,$(1)) |
650 |
+ |
do_link = $(shell $(LN_S) $(1) $(2)) |
651 |
|
|
652 |
|
$(CombinedStaticLib) : $(LibDir)/.stamp_UP |
653 |
|
$(Print) create $@ |
807 |
|
install : $(InstallListLoop) |
808 |
|
$(Print) Done Install |
809 |
|
|
810 |
< |
_installall : _buildall _installdata |
810 |
> |
_installall : _buildall _installdata _installlinks |
811 |
|
|
812 |
|
$(MyInstallDir) : |
813 |
|
$(MkDir) $@ |
818 |
|
$(InstallCommand) $(InstallFiles) $(MyInstallDir) |
819 |
|
endif |
820 |
|
|
821 |
+ |
_installlinks : $(MyInstallDir) |
822 |
+ |
ifneq "$(words $(MyLinkTargets))" "0" |
823 |
+ |
@cd $(MyInstallDir) |
824 |
+ |
$(foreach thisLink,$(MyLinkTargets),$(call do_link,$(MyLinkSource),$(thisLink))) |
825 |
+ |
endif |
826 |
+ |
|
827 |
|
# make statistics |
828 |
|
_statisticsall : |
829 |
|
@$(Print) $(patsubst %,$(CurrentDir)/%,$(SourceFiles)) >> $(DEV_ROOT)/files.tmp |