File: makefile.mvc

package info (click to toggle)
smapi 2.4.0%2Brc2-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge
  • size: 1,016 kB
  • ctags: 1,831
  • sloc: ansic: 11,304; pascal: 394; makefile: 137; asm: 125
file content (32 lines) | stat: -rw-r--r-- 625 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: makefile.mvc,v 1.14 2003/01/14 07:10:56 stas_degteff Exp $
# Microsoft Visual C++ Makefile for build static library

CC=     cl
CFLAGS= -nologo -Zp1
CDEFS=  -D__NT__ -D_CONSOLE -DPROCESSOR_ARCHITECTURE="$(PROCESSOR_ARCHITECTURE)"
COPT=   -O2
TLIB=    lib -nologo
OBJ=	.obj

SMAPIL= smapimvc.lib

include makefile.inc


.c.obj:
	$(CC) $(CFLAGS) $(CDEFS) $(COPT) -c $<

all: $(SMAPIL) gnmsgid.exe

$(SMAPIL): $(OBJS)
	$(TLIB) /out:$@ $(OBJS)

gnmsgid.exe: $(SMAPIL)
        $(CC) $(CFLAGS) $(CDEFS) $(COPT) -Fe$@ gnmsgid.c $(GMOBJS) /link /opt:nowin98

clean:
	-del *.obj

distclean: clean
	-del *.lib
	-del gnmsgid.exe