source: trunk/include/pdwin32.tools@ 3019

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

makefile rule changes

File size: 1.1 KB
Line 
1# $Id: pdwin32.tools,v 1.8 2000-03-04 23:45:30 sandervl 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# System Utilites
13#
14RM = rm -f
15CP = copy
16MKDIR = mkdir
17ECHO = echo
18IMPDEF = $(PDWIN32_TOOLS)\impdef.exe
19#SvL: Remove this when everything has been converted to the new build rules
20!ifdef NEWBUILD
21DEPEND = $(PDWIN32_TOOLS)\fastdep.exe -o$$(OBJDIR)
22!else
23DEPEND = $(PDWIN32_TOOLS)\fastdep.exe
24!endif
25
26DOWITHDIRS = $(PDWIN32_TOOLS)\dowithdirs.cmd
27MAKE_CMD = nmake /nologo
28!ifdef DEBUG
29MAKE_CMD = $(MAKE_CMD) DEBUG=1
30!endif
31!ifdef NODEBUGINFO
32MAKE_CMD = $(MAKE_CMD) NODEBUGINFO=1
33!endif
34!ifdef NODEP
35MAKE_CMD = $(MAKE_CMD) NODEP=1
36!endif
37
38
39#
40# Targets
41#
42.c{$(OBJDIR)}.obj:
43 $(CC) $(CFLAGS) -c -Fo$(OBJDIR)\$(@B).obj $<
44
45.cpp{$(OBJDIR)}.obj:
46 $(CXX) $(CXXFLAGS) -Fo$(OBJDIR)\$(@B).obj -c $<
47
48.asm{$(OBJDIR)}.obj:
49 $(AS) $(ASFLAGS) -Fdo:$(OBJDIR) $<
50
51
52.c.obj:
53 $(CC) $(CFLAGS) -c $<
54
55.cpp.obj:
56 $(CXX) $(CXXFLAGS) -c $<
57
58.asm.obj:
59 $(AS) $(ASFLAGS) $<
60
61
Note: See TracBrowser for help on using the repository browser.