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

Last change on this file since 9807 was 9677, checked in by sandervl, 23 years ago

PF: Updates

File size: 1.3 KB
Line 
1# $Id: msvcrt40.mak,v 1.7 2003-01-15 10:43:16 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
35#
36# Target name - name of the dll without extention and path.
37#
38TARGET = msvcrt40
39
40all: $(OBJDIR) $(OBJDIR)\$(TARGET).dll $(TARGET).lib
41
42$(OBJDIR)\$(TARGET).dll: $(OBJS) $(TARGET).def
43 $(LD) $(LDFLAGS) -Zso -Zsys $(OBJS) $(TARGET).def -L.\libs -lm\
44 -L$(OBJDIR) -liberty_s -lmsvcrt -o $(OBJDIR)\$(TARGET).dll
45 touch $(OBJDIR)\$(TARGET).map
46 @echo "Illegal Sym File for EMX" > $(OBJDIR)\$(TARGET).sym
47
48$(TARGET).lib:
49 implib $(OBJDIR)\$(TARGET).lib msvcrt40.def
50 @copy $(OBJDIR)\$(TARGET).lib $(ODIN32_LIB_)\Release
51 @copy $(OBJDIR)\$(TARGET).lib $(ODIN32_LIB_)\Debug
52
53lib: $(TARGET).lib
54
55#
56# Includes the common rules.
57#
58!include $(ODIN32_POST_INC)
59
Note: See TracBrowser for help on using the repository browser.