mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 19:50:32 +05:00
PR: avoids unnecessary compilation after regeneration of SALOMEconfig.h, with gcc3.2
This commit is contained in:
parent
f62a33b2a0
commit
7d7abf6b8a
11
Makefile.in
11
Makefile.in
@ -94,10 +94,19 @@ endif
|
||||
|
||||
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) ../../$< $@
|
||||
|
||||
# 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) ../../$< $@
|
||||
|
Loading…
Reference in New Issue
Block a user