Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make GetMaxArea const
[modules/smesh.git]
/
Makefile.in
diff --git
a/Makefile.in
b/Makefile.in
index be3533864350b81064cdad3500f315d13a11752d..1b06ef6c5e3f94f3dabc3140479ca5da332feb54 100644
(file)
--- a/
Makefile.in
+++ b/
Makefile.in
@@
-94,10
+94,19
@@
endif
inc: idl $(include_list)
inc: idl $(include_list)
-include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.
h
+include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.
ref
-$(RM) $@
$(LN_S) ../../$< $@
-$(RM) $@
$(LN_S) ../../$< $@
+# test if SALOMEconfig.h has changed (contents)
+salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
+ @if ! [ -a $@ ]; then \
+ cp -p $< $@; \
+ fi; \
+ if ! cmp $< $@; then \
+ cp -p $< $@; \
+ fi; \
+
include/salome/sstream: salome_adm/unix/sstream
-$(RM) $@
$(LN_S) ../../$< $@
include/salome/sstream: salome_adm/unix/sstream
-$(RM) $@
$(LN_S) ../../$< $@