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 | d02773c938710ce91a745137bf1a05afff78fb8b (patch) | |
tree | ebbbf21f063e631f2041f4367d9fa230b70b8179 | |
parent | c3b5a2ae8f914a4680bacf50bcaddcbbf696fcb9 (diff) | |
download | ATCD-d02773c938710ce91a745137bf1a05afff78fb8b.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 #---------------------------------------------------------------------------- |