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

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

Support for new makefile style.
Changed watcom. Nows uses UNIX compatible mode rather than M$.

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