diff options
author | Steve Huston <shuston@riverace.com> | 1997-11-22 23:58:17 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 1997-11-22 23:58:17 +0000 |
commit | b150738f91c18a909d37e0c4237773b23f848ac6 (patch) | |
tree | ebbbf21f063e631f2041f4367d9fa230b70b8179 | |
parent | 86290284f53bab6ef5ba6af0590ab9672f6d3e75 (diff) | |
download | ATCD-b150738f91c18a909d37e0c4237773b23f848ac6.tar.gz |
Remove the tempinc directory before compiling each new program on AIX.
-rw-r--r-- | examples/Threads/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/Threads/Makefile b/examples/Threads/Makefile index 612b982d5b8..d4b34e4f037 100644 --- a/examples/Threads/Makefile +++ b/examples/Threads/Makefile @@ -46,6 +46,13 @@ include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU include $(ACE_ROOT)/include/makeinclude/rules.bin.GNU include $(ACE_ROOT)/include/makeinclude/rules.local.GNU +# To build multiple executables in the same directory on AIX, it works +# best to wipe out any previously-created tempinc directory. +# The compiler/linker isn't too smart about instantiating templates... +ifdef TEMPINCDIR +COMPILE.cc := $(RM) -rf tempinc; $(COMPILE.cc) +endif + #---------------------------------------------------------------------------- # Local targets #---------------------------------------------------------------------------- |