summaryrefslogtreecommitdiff
path: root/examples/RMCast/Send_File/Makefile.bor
diff options
context:
space:
mode:
Diffstat (limited to 'examples/RMCast/Send_File/Makefile.bor')
-rw-r--r--examples/RMCast/Send_File/Makefile.bor29
1 files changed, 21 insertions, 8 deletions
diff --git a/examples/RMCast/Send_File/Makefile.bor b/examples/RMCast/Send_File/Makefile.bor
index 2bf2db27a10..489f89b29c4 100644
--- a/examples/RMCast/Send_File/Makefile.bor
+++ b/examples/RMCast/Send_File/Makefile.bor
@@ -1,18 +1,31 @@
#
-# Makefile for building the RMCast Send_File ace examples
-#
+ # Makefile for building the RMCast Send_File ace examples
+ #
+
+ !include <$(ACE_ROOT)\include\makeinclude\make_flags.bor>
+
+ TESTS = \
+ Receiver \
+ Sender
-NAMES = \
- Receiver \
- Sender
+all_tests: $(TESTS)
+
+LIBFILES = \
+ $(ACE_LIB) \
+ $(ACE_RMCAST_LIB)
+
+$(TESTS):
+ $(MAKE) -fMakefile.bor -DNAME=$@ $(MAKE_FLAGS) $(BINDIR)\$@.exe
OBJFILES = $(OBJDIR)\$(NAME).obj
-CFLAGS = $(ACE_CFLAGS) $(ACE_RMCAST_CFLAGS)
+CFLAGS = $(ACE_CFLAGS)
CPPDIR = .
-LIBFILES = $(ACE_LIB) $(ACE_RMCAST_LIB)
+LIBFILES = \
+ $(ACE_LIB) \
+ $(ACE_RMCAST_LIB)
+
-!include <$(ACE_ROOT)\include\makeinclude\recurse.bor>
!include <$(ACE_ROOT)\include\makeinclude\build_exe.bor>