source: trunk/src/msvcrt/msvcrt40.mak@ 10367

Last change on this file since 10367 was 10005, checked in by sandervl, 22 years ago

PF: MSVCRT update

File size: 1.2 KB
Line 
1# $Id: msvcrt40.mak,v 1.8 2003-04-10 10:28:05 sandervl Exp $
2
3#
4# Odin32 API
5#
6# msvcrt.dll makefile
7#
8
9
10#
11# Tell buildenvironment that we have a non-default makefilename.
12#
13MAKEFILE = msvcrt40.mak
14CCENV = EMX
15NOTEXPDEF = 1
16
17#
18# Compiler, tools, and interference rules.
19#
20!include ../../makefile.inc
21
22!ifndef WMAKE
23CDEFINES = -I. $(CDEFINES) -DUSE_MSVCRT_PREFIX -D_MT -I$(ODIN32_INCLUDE)\win\msvcrt
24!else
25CDEFINES += -DUSE_MSVCRT_PREFIX -D_MT -I$(ODIN32_INCLUDE)\win\msvcrt
26!endif
27
28#
29# Object files. Prefix with OBJDIR and one space before the '\'.
30#
31OBJS = \
32$(OBJDIR)\mainmsvcrt40.obj \
33$(OBJDIR)\$(TARGET)rsrc.obj
34
35LIBS = \
36$(ODIN32_LIB)\kernel32.lib \
37$(ODIN32_LIB)\msvcrt.lib \
38$(ODIN32_LIB)\ntdll.lib \
39$(ODIN32_LIB)\user32.lib \
40$(EMX)\lib\mt\c.lib \
41$(EMX)\lib\mt\c_dllso.lib \
42$(EMX)\lib\mt\sys.lib \
43$(EMX)\lib\os2.lib \
44
45#
46# Target name - name of the dll without extention and path.
47#
48TARGET = msvcrt40
49
50all: $(OBJDIR) $(OBJDIR)\$(TARGET).dll $(TARGET).lib
51
52$(TARGET).lib:
53 implib $(OBJDIR)\$(TARGET).lib msvcrt40.def
54 @copy $(OBJDIR)\$(TARGET).lib $(ODIN32_LIB_)\Release
55 @copy $(OBJDIR)\$(TARGET).lib $(ODIN32_LIB_)\Debug
56
57lib: $(TARGET).lib
58
59#
60# Includes the common rules.
61#
62!include $(ODIN32_POST_INC)
63
Note: See TracBrowser for help on using the repository browser.