summaryrefslogtreecommitdiff
path: root/include/makeinclude/build_exe.bor
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude/build_exe.bor')
-rw-r--r--include/makeinclude/build_exe.bor65
1 files changed, 0 insertions, 65 deletions
diff --git a/include/makeinclude/build_exe.bor b/include/makeinclude/build_exe.bor
deleted file mode 100644
index f02093ce692..00000000000
--- a/include/makeinclude/build_exe.bor
+++ /dev/null
@@ -1,65 +0,0 @@
-#
-# Rules for building an executable
-#
-# Inputs:
-# ~~~~~~~
-# NAME - undecorated name of target
-# CFLAGS - extra compiler flags for building target
-# CPPDIR - list of directories containing source files
-# OBJFILES - list of (non-system) object files
-# LIBFILES - list of (non-system) libraries
-# STATIC - if defined means link exe with static libraries
-# PASCAL - if defined means link dll against pascal run-time library
-# DEBUG - if defined means building with debug information
-#
-
-!include <$(ACE_ROOT)\include\makeinclude\decorator.bor>
-!include <$(ACE_ROOT)\include\makeinclude\outputdir.bor>
-!include <$(ACE_ROOT)\include\makeinclude\compiler.bor>
-
-TARGET = $(BINDIR)\$(NAME).exe
-
-$(TARGET): $(OBJFILES) $(RESOURCE)
- @$(MAKE_BINDIR)
- $(LD) @&&!
- $(COMMON_LFLAGS) $(EXE_LFLAGS) $(LFLAGS) +
- $(EXE_STARTUP_OBJ) $(OBJFILES), +
- $(TARGET),, +
- $(COMMON_LIBS) $(LIBFILES),, +
- $(RESOURCE)
-!
-!ifndef DEBUG
- @del $(TARGET:.exe=.tds)
-!endif
-
-clean:
- @copy &&!
-@del $(OBJFILES:.obj=.obj ^
-@del ) $(RESOURCE)
-! clean_$(NAME)~.bat 1> NUL
- -@clean_$(NAME)~.bat 2> NUL
- @del clean_$(NAME)~.bat
-
-!ifdef CPPDIR
-.path.cpp = $(CPPDIR)
-!endif
-
-!ifdef RESDIR
-.path.rc = $(RESDIR)
-!else
-.path.rc = .
-!endif
-
-.path.obj = $(OBJDIR)
-
-.cpp.obj:
- @$(MAKE_OBJDIR)
- $(CC) $(COMMON_CFLAGS) $(EXE_CFLAGS) $(CFLAGS) -c -n$(@D) $<
-
-.rc.res:
- @$(MAKE_OBJDIR)
- $(RC) -fo$@ $<
-
-.autodepend
-
-