source: trunk/include/pdwin32.wat.tools@ 4503

Last change on this file since 4503 was 4401, checked in by bird, 25 years ago

Implemented new linker tools which converts .Def-files to linker directives
and options.++

File size: 1.3 KB
RevLine 
[4401]1# $Id: pdwin32.wat.tools,v 1.5 2000-10-03 05:39:51 bird Exp $
[4075]2# ODIN / win32os2 Project
3#
4# makefile for the build system tools and standard rules
5# Note: this has to be included after the compiler environment
6#
7
[4401]8#
9# Watcom Specific tools
10#
11KDEF2WAT = $(PDWIN32_TOOLS)\kDef2Wat.exe
[4075]12
13#
[4334]14# Make command definition.
[4075]15#
[4334]16MAKE_CMDLINE= wmake -u
17!if "$(%DEBUG)" != ""
18DEBUG = 1
19!endif
[4075]20!ifdef DEBUG
21MAKE_CMDLINE= $(MAKE_CMDLINE) DEBUG=1
22!endif
[4334]23!if "$(%NODEBUGINFO)" != ""
24NODEBUGINFO = 1
25!endif
[4075]26!ifdef NODEBUGINFO
27MAKE_CMDLINE= $(MAKE_CMDLINE) NODEBUGINFO=1
28!endif
[4334]29!if "$(%NODEP)" != ""
30NODEP = 1
31!endif
[4075]32!ifdef NODEP
33MAKE_CMDLINE= $(MAKE_CMDLINE) NODEP=1
34!endif
35
36MAKE_CMD = $(MAKE_CMDLINE) -f makefile.os2
37
38#
39# Targets
40#
41.ERASE
[4334]42.EXTENSIONS:
43.EXTENSIONS: .lst .res .obj .orc_asm .orc .cpp .c .rc .asm
[4075]44
[4334]45.obj : $(OBJDIR)
46.res : $(OBJDIR)
[4075]47
[4334]48.c.obj: # .AUTODEPEND
[4075]49 $(CC) $(CFLAGS) -fo$(OBJDIR)\$^&.obj $^&.c
50
[4334]51.cpp.obj: # .AUTODEPEND
[4075]52 $(CXX) $(CXXFLAGS) -fo$(OBJDIR)\$^&.obj $^&.cpp
53
54.asm.obj:
55 $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $^&.asm
56
[4334]57.orc.orc_asm:
58 $(RC) $(RCFLAGS) -o $^&.orc_asm $^&.orc
[4075]59
[4334]60.orc_asm.obj:
61 $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $^&.orc_asm
62
[4075]63.orc.obj:
[4114]64 $(RC) $(RCFLAGS) -o $(OBJDIR)\$^&.asm $^&.orc
[4075]65 $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $(OBJDIR)\$^&.asm
66
67.rc.res:
68 $(OS2RC) $(OS2RCFLAGS) $^&.rc
69
70
Note: See TracBrowser for help on using the repository browser.