source: trunk/include/pdwin32.tools@ 3480

Last change on this file since 3480 was 3480, checked in by sandervl, 25 years ago

added rule for symbol files; disabled profiling

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