-
Notifications
You must be signed in to change notification settings - Fork 0
/
intel.mak
37 lines (25 loc) · 916 Bytes
/
intel.mak
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
# Intel(R) C++ Compiler for 32-bit applications, Version 9.0
# Intel(R) Parallel Studio XE 2015 Update 2 Composer Edition (package 179)
OBJS=eolfix.obj fnmatch.obj getopt.obj
EXE=eolfix.exe
CC=icl.exe
CPP=icl.exe
LINK32=xilink.exe
CFLAGS=/nologo /W3 /GX /YX /FD /c /D "WIN32" /D "_CONSOLE" /D "_MBCS" /Wall
LINK32_FLAGS=/nologo /subsystem:console /machine:I386 # setargv.obj
!if defined(debug) || defined(DEBUG)
CFLAGS=$(CFLAGS) /MLd /Od /D "_DEBUG" /Gm /ZI /GZ
LINK32_FLAGS=$(LINK32_FLAGS) /incremental:yes /debug
!else
CFLAGS=$(CFLAGS) /ML /O2 /D "NDEBUG"
LINK32_FLAGS=$(LINK32_FLAGS) /incremental:no
!endif
.PHONY: all clean
all: $(EXE)
$(EXE): $(OBJS)
$(LINK32) /out:$@ $** $(LINK32_FLAGS)
eolfix.obj: eolfix.c compiler.h version.h
fnmatch.obj: fnmatch.c fnmatch.h
getopt.obj: getopt.c getopt.h
clean:
-del $(EXE) $(OBJS) *.pdb *.ilk >nul 2>nul