summaryrefslogtreecommitdiff
path: root/tests/Makefile.bor
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile.bor')
-rw-r--r--tests/Makefile.bor27
1 files changed, 8 insertions, 19 deletions
diff --git a/tests/Makefile.bor b/tests/Makefile.bor
index 9b111d192e8..d895c168c90 100644
--- a/tests/Makefile.bor
+++ b/tests/Makefile.bor
@@ -2,6 +2,8 @@
# Makefile for building the ACE tests
#
+!include <$(ACE_ROOT)\include\makeinclude\make_flags.bor>
+
TESTS = \
Aio_Platform_Test \
Atomic_Op_Test \
@@ -78,29 +80,16 @@ TESTS = \
all_tests: $(TESTS)
-!ifdef DEBUG
-DEBUGFLAG = -DDEBUG
-!endif
-
-!ifdef STATIC
-STATICFLAG = -DSTATIC
-!endif
-
-!ifdef PASCAL
-PASCALFLAG = -DPASCAL
-!endif
-
$(TESTS):
- $(MAKE) -fMakefile.bor -DNAME=$@ $(DEBUGFLAG) $(STATICFLAG) \
- $(PASCALFLAG) $(BINDIR)\$@.exe
+ $(MAKE) -fMakefile.bor -DNAME=$@ $(MAKE_FLAGS) $(BINDIR)\$@.exe
OBJFILES = $(OBJDIR)\$(NAME).obj
-CFLAGS = -I.. $(ACE_CFLAGS)
+
+CFLAGS = $(ACE_CFLAGS)
+
CPPDIR = .
-BINDIR=.\bor\bin
-BASE_OBJDIR=.\bor\obj
-LIBFILES = \
- $(ACE_ROOT)\bin\ace$(LIB_DECORATOR).lib
+
+LIBFILES = $(ACE_LIB)
!include <$(ACE_ROOT)\include\makeinclude\build_exe.bor>