source: trunk/include/pdwin32.vac3.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.vac3.tools,v 1.1 2000-09-28 03:16:24 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# phaller@gmx.net, 1999/05/27
8#
9
10
11#
12# Make command definition.
13#
14MAKE_CMD = nmake /nologo
15!ifdef DEBUG
16MAKE_CMD = $(MAKE_CMD) DEBUG=1
17!endif
18!ifdef NODEBUGINFO
19MAKE_CMD = $(MAKE_CMD) NODEBUGINFO=1
20!endif
21!ifdef NODEP
22MAKE_CMD = $(MAKE_CMD) NODEP=1
23!endif
24
25
26#
27# Targets
28#
29.SUFFIXES: .orc_asm .orc
30
31.c{$(OBJDIR)}.obj:
32 $(CC) $(CFLAGS) -c -Fo$(OBJDIR)\$(@B).obj $<
33
34.cpp{$(OBJDIR)}.obj:
35 $(CXX) $(CXXFLAGS) -Fo$(OBJDIR)\$(@B).obj -c $<
36
37.asm{$(OBJDIR)}.obj:
38 $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $<
39
40.orc{$(OBJDIR)}.orc_asm:
41 $(RC) $(RCFLAGS) -o $(OBJDIR)\$(@B).orc_asm $<
42
43.orc{$(OBJDIR)}.obj:
44 $(RC) $(RCFLAGS) -o $(OBJDIR)\$(@B).orc_asm $<
45 $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $(OBJDIR)\$(@B).orc_asm
46
47.rc{$(OBJDIR)}.res:
48 $(OS2RC) $(OS2RCFLAGS) $< $@
49
50
51#
52# Old Targets
53#
54.c.obj:
55 $(CC) $(CFLAGS) -c $<
56
57.cpp.obj:
58 $(CXX) $(CXXFLAGS) -c $<
59
60.asm.obj:
61 $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $<
62
63.orc.asm:
64 $(RC) $(RCFLAGS) -o $@ $<
65
66.rc.res:
67 $(OS2RC) $(OS2RCFLAGS) $< $@
68
Note: See TracBrowser for help on using the repository browser.