summaryrefslogtreecommitdiff
path: root/spectro/Makefile.WNT
blob: 83eef283fd4dd57d9c3594eb2af8746cf31593e1 (plain)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Microsoft VC++, WinNT setup

# Copyright 2000 - 2007 Graeme W. Gill
# This material is licenced under the GNU GENERAL PUBLIC LICENSE Version 2 or later :-
# see the License2.txt file for licencing details.

SLASH     = \ 
SUFLIB    = .lib
SUFOBJ    = .obj
SUFEXE    = .exe
CMDSEP    = &

INCFLAG       = /I
DEFFLAG       = /D
UNDEFFLAG     = /U
CCOPTFLAG     = /Ox
CCDEBUGFLAG   = /Z7 /Od
CCPROFFLAG    = /Z7
LINKDEBUGFLAG = /DEBUG
LINKPROFFLAG  = /PROFILE

STDHDRSDEF   = $(VCINSTALLDIR)\include
LINKDIR      = $(MSSDK)

MAKEU     = nmake
LIBU      = lib
LIBOF     = /OUT:
RANLIB    = rem
AS        = masm386
# DLL build by default
# /Wall /wd4820 /wd4100 /wd4255 /wd4711 /wd4668 /wd4018 /wd4389
CCFLAGSDEF   = /DNT  /MD /c	 $(DEFFLAG)_CRT_SECURE_NO_DEPRECATE $(DEFFLAG)_CRT_NONSTDC_NO_DEPRECATE
CC        = cl /nologo $(CCFLAGS) $(STDHDRS) $(WIN_STDHDRS)
CCOF      = /Fo
LINKLIBS  = $(LINKDIR)\lib\user32.lib $(LINKDIR)\lib\gdi32.lib $(LINKDIR)\lib\advapi32.lib $(LINKDIR)\lib\setupapi.lib $(LINKDIR)\lib\ole32.lib
LINKFLAGSDEF = /link /INCREMENTAL:NO
LINK      = link $(LINKFLAGS)
LINKOF    = /OUT:
CP        = copy
RM        = del

.SUFFIXES:
.SUFFIXES: .c $(SUFLIB) $(SUFOBJ) $(SUFEXE)

.c$(SUFOBJ):
	$(CC) $(CCOF)$*$(SUFOBJ) $<