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
Line 
1# $Id: pdwin32.wat.tools,v 1.6 2000-11-20 04:58:15 bird Exp $
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
8#
9# Watcom Specific tools
10#
11KDEF2WAT = $(PDWIN32_TOOLS)\kDef2Wat.exe
12
13#
14# Make command definition.
15#
16MAKE_CMDLINE= wmake -u
17!if "$(%DEBUG)" != ""
18DEBUG = 1
19!endif
20!ifdef DEBUG
21MAKE_CMDLINE= $(MAKE_CMDLINE) DEBUG=1
22!endif
23!if "$(%NODEBUGINFO)" != ""
24NODEBUGINFO = 1
25!endif
26!ifdef NODEBUGINFO
27MAKE_CMDLINE= $(MAKE_CMDLINE) NODEBUGINFO=1
28!endif
29!if "$(%NODEP)" != ""
30NODEP = 1
31!endif
32!ifdef NODEP
33MAKE_CMDLINE= $(MAKE_CMDLINE) NODEP=1
34!endif
35
36MAKE_CMD = $(MAKE_CMDLINE) # -f makefile.os2 # What is this?
37
38#
39# Targets
40#
41.ERASE
42.EXTENSIONS:
43.EXTENSIONS: .lst .res .obj .orc_asm .orc .cpp .c .rc .asm
44
45.obj : $(OBJDIR)
46.res : $(OBJDIR)
47
48.c.obj: # .AUTODEPEND
49 $(CC) $(CFLAGS) $(CINCLUDES) $(CDEFINES) -fo$(OBJDIR)\$^&.obj $^&.c
50
51.cpp.obj: # .AUTODEPEND
52 $(CXX) $(CXXFLAGS) $(CINCLUDES) $(CDEFINES) -fo$(OBJDIR)\$^&.obj $^&.cpp
53
54.asm.obj:
55 $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $^&.asm
56
57.orc.orc_asm:
58 $(RC) $(RCFLAGS) $(CINCLUDES) -o $^&.orc_asm $^&.orc
59
60.orc_asm.obj:
61 $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $^&.orc_asm
62
63.orc.obj:
64 $(RC) $(RCFLAGS) $(CINCLUDES) -o $(OBJDIR)\$^&.asm $^&.orc
65 $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $(OBJDIR)\$^&.asm
66
67.rc.res:
68 $(OS2RC) $(OS2RCFLAGS) $(CINCLUDES:-I=-i ) $^&.rc
69
Note: See TracBrowser for help on using the repository browser.