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

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

More changes and correction. Tried to sync watcom files.
New tool.

File size: 1.4 KB
RevLine 
[4642]1# $Id: pdwin32.wat.tools,v 1.6 2000-11-20 04:58:15 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
[4642]36MAKE_CMD = $(MAKE_CMDLINE) # -f makefile.os2 # What is this?
[4075]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
[4642]49 $(CC) $(CFLAGS) $(CINCLUDES) $(CDEFINES) -fo$(OBJDIR)\$^&.obj $^&.c
[4075]50
[4334]51.cpp.obj: # .AUTODEPEND
[4642]52 $(CXX) $(CXXFLAGS) $(CINCLUDES) $(CDEFINES) -fo$(OBJDIR)\$^&.obj $^&.cpp
[4075]53
54.asm.obj:
55 $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $^&.asm
56
[4334]57.orc.orc_asm:
[4642]58 $(RC) $(RCFLAGS) $(CINCLUDES) -o $^&.orc_asm $^&.orc
[4075]59
[4334]60.orc_asm.obj:
61 $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $^&.orc_asm
62
[4075]63.orc.obj:
[4642]64 $(RC) $(RCFLAGS) $(CINCLUDES) -o $(OBJDIR)\$^&.asm $^&.orc
[4075]65 $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $(OBJDIR)\$^&.asm
66
67.rc.res:
[4642]68 $(OS2RC) $(OS2RCFLAGS) $(CINCLUDES:-I=-i ) $^&.rc
[4075]69
Note: See TracBrowser for help on using the repository browser.