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
RevLine 
[4334]1# $Id: pdwin32.wat.tools,v 1.4 2000-09-28 03:16:25 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
8
9#
[4334]10# Make command definition.
[4075]11#
[4334]12MAKE_CMDLINE= wmake -u
13!if "$(%DEBUG)" != ""
14DEBUG = 1
15!endif
[4075]16!ifdef DEBUG
17MAKE_CMDLINE= $(MAKE_CMDLINE) DEBUG=1
18!endif
[4334]19!if "$(%NODEBUGINFO)" != ""
20NODEBUGINFO = 1
21!endif
[4075]22!ifdef NODEBUGINFO
23MAKE_CMDLINE= $(MAKE_CMDLINE) NODEBUGINFO=1
24!endif
[4334]25!if "$(%NODEP)" != ""
26NODEP = 1
27!endif
[4075]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
[4334]38.EXTENSIONS:
39.EXTENSIONS: .lst .res .obj .orc_asm .orc .cpp .c .rc .asm
[4075]40
[4334]41.obj : $(OBJDIR)
42.res : $(OBJDIR)
[4075]43
[4334]44.c.obj: # .AUTODEPEND
[4075]45 $(CC) $(CFLAGS) -fo$(OBJDIR)\$^&.obj $^&.c
46
[4334]47.cpp.obj: # .AUTODEPEND
[4075]48 $(CXX) $(CXXFLAGS) -fo$(OBJDIR)\$^&.obj $^&.cpp
49
50.asm.obj:
51 $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $^&.asm
52
[4334]53.orc.orc_asm:
54 $(RC) $(RCFLAGS) -o $^&.orc_asm $^&.orc
[4075]55
[4334]56.orc_asm.obj:
57 $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $^&.orc_asm
58
[4075]59.orc.obj:
[4114]60 $(RC) $(RCFLAGS) -o $(OBJDIR)\$^&.asm $^&.orc
[4075]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.