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
|
Line | |
---|
1 | # $Id: pdwin32.wat.tools,v 1.5 2000-10-03 05:39:51 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 | #
|
---|
11 | KDEF2WAT = $(PDWIN32_TOOLS)\kDef2Wat.exe
|
---|
12 |
|
---|
13 | #
|
---|
14 | # Make command definition.
|
---|
15 | #
|
---|
16 | MAKE_CMDLINE= wmake -u
|
---|
17 | !if "$(%DEBUG)" != ""
|
---|
18 | DEBUG = 1
|
---|
19 | !endif
|
---|
20 | !ifdef DEBUG
|
---|
21 | MAKE_CMDLINE= $(MAKE_CMDLINE) DEBUG=1
|
---|
22 | !endif
|
---|
23 | !if "$(%NODEBUGINFO)" != ""
|
---|
24 | NODEBUGINFO = 1
|
---|
25 | !endif
|
---|
26 | !ifdef NODEBUGINFO
|
---|
27 | MAKE_CMDLINE= $(MAKE_CMDLINE) NODEBUGINFO=1
|
---|
28 | !endif
|
---|
29 | !if "$(%NODEP)" != ""
|
---|
30 | NODEP = 1
|
---|
31 | !endif
|
---|
32 | !ifdef NODEP
|
---|
33 | MAKE_CMDLINE= $(MAKE_CMDLINE) NODEP=1
|
---|
34 | !endif
|
---|
35 |
|
---|
36 | MAKE_CMD = $(MAKE_CMDLINE) -f makefile.os2
|
---|
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) -fo$(OBJDIR)\$^&.obj $^&.c
|
---|
50 |
|
---|
51 | .cpp.obj: # .AUTODEPEND
|
---|
52 | $(CXX) $(CXXFLAGS) -fo$(OBJDIR)\$^&.obj $^&.cpp
|
---|
53 |
|
---|
54 | .asm.obj:
|
---|
55 | $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $^&.asm
|
---|
56 |
|
---|
57 | .orc.orc_asm:
|
---|
58 | $(RC) $(RCFLAGS) -o $^&.orc_asm $^&.orc
|
---|
59 |
|
---|
60 | .orc_asm.obj:
|
---|
61 | $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $^&.orc_asm
|
---|
62 |
|
---|
63 | .orc.obj:
|
---|
64 | $(RC) $(RCFLAGS) -o $(OBJDIR)\$^&.asm $^&.orc
|
---|
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.