source: trunk/include/pdwin32.tools@ 3062

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

Added EXISTS.

File size: 1.5 KB
RevLine 
[3062]1# $Id: pdwin32.tools,v 1.10 2000-03-09 19:38:51 bird Exp $
[9]2# ODIN / win32os2 Project
[844]3#
[9]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# System Utilites
13#
[2714]14RM = rm -f
15CP = copy
16MKDIR = mkdir
17ECHO = echo
[3062]18EXISTS = $(PDWIN32_TOOLS)\Exists.cmd
19DOWITHDIRS = $(PDWIN32_TOOLS)\dowithdirs.cmd
[2714]20IMPDEF = $(PDWIN32_TOOLS)\impdef.exe
[3032]21DEPEND = $(PDWIN32_TOOLS)\fastdep.exe -o$$(OBJDIR)
[3062]22
23#Svl: Remove this when everything has been converted to the new build rules
[3032]24!ifdef OLDBUILD
25DEPEND = $(PDWIN32_TOOLS)\fastdep.exe
[3019]26!endif
[2910]27MAKE_CMD = nmake /nologo
[2900]28!ifdef DEBUG
[2910]29MAKE_CMD = $(MAKE_CMD) DEBUG=1
30!endif
[2900]31!ifdef NODEBUGINFO
[2910]32MAKE_CMD = $(MAKE_CMD) NODEBUGINFO=1
[2900]33!endif
[2910]34!ifdef NODEP
35MAKE_CMD = $(MAKE_CMD) NODEP=1
[2900]36!endif
[9]37
38
39#
40# Targets
41#
[3032]42.SUFFIXES: .orc
43
[3019]44.c{$(OBJDIR)}.obj:
45 $(CC) $(CFLAGS) -c -Fo$(OBJDIR)\$(@B).obj $<
46
47.cpp{$(OBJDIR)}.obj:
48 $(CXX) $(CXXFLAGS) -Fo$(OBJDIR)\$(@B).obj -c $<
49
50.asm{$(OBJDIR)}.obj:
51 $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $<
52
[3032]53.orc{$(OBJDIR)}.asm:
54 $(RC) $(RCFLAGS) -o $(OBJDIR)\$(@B).asm $<
[3019]55
[3032]56.orc{$(OBJDIR)}.obj:
57 $(RC) $(RCFLAGS) -o $(OBJDIR)\$(@B).asm $<
58 $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $(OBJDIR)\$(@B).asm
59
60.rc{$(OBJDIR)}.res:
61 $(OS2RC) $(OS2RCFLAGS) $< $@
62
63
64#
65# Old Targets
66#
[9]67.c.obj:
[2714]68 $(CC) $(CFLAGS) -c $<
[9]69
70.cpp.obj:
[2714]71 $(CXX) $(CXXFLAGS) -c $<
[9]72
73.asm.obj:
[2714]74 $(AS) $(ASFLAGS) $<
[9]75
[3032]76.orc.asm:
77 $(RC) $(RCFLAGS) -o $@ $<
[9]78
[3032]79.rc.res:
80 $(OS2RC) $(OS2RCFLAGS) $< $@
81
Note: See TracBrowser for help on using the repository browser.