summaryrefslogtreecommitdiff
path: root/vc.mak
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-10-20 13:29:18 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-10-20 13:29:23 +0900
commit988f99500ba83724242b161936adaa960b677653 (patch)
tree4ccd4f309dbe7b257491aeee59fed54b5013bd52 /vc.mak
parent7ca016ae3ac8042e2eee9829f6d9d3b644527f4f (diff)
downloaddos2unix-988f99500ba83724242b161936adaa960b677653.tar.gz
dos2unix-988f99500ba83724242b161936adaa960b677653.tar.bz2
dos2unix-988f99500ba83724242b161936adaa960b677653.zip
Imported Upstream version 7.3
Change-Id: I3e22ad31361a5edb8914c1a43b858bab188368e4 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'vc.mak')
-rw-r--r--vc.mak9
1 files changed, 7 insertions, 2 deletions
diff --git a/vc.mak b/vc.mak
index 208dd58..8f0a6cc 100644
--- a/vc.mak
+++ b/vc.mak
@@ -3,6 +3,8 @@
!include version.mk
+UNIFILE = 1
+
CC = cl.exe /nologo
LINK = link.exe /nologo
SRCDIR = .
@@ -34,15 +36,18 @@ all: $(PROGRAMS) $(DOCFILES)
dos2unix.exe: dos2unix.obj querycp.obj common.obj
- $(LINK) $(LDFLAGS) dos2unix.obj querycp.obj common.obj setargv.obj mpr.lib
+ $(LINK) $(LDFLAGS) dos2unix.obj querycp.obj common.obj setargv.obj mpr.lib shell32.lib
unix2dos.exe: unix2dos.obj querycp.obj common.obj
- $(LINK) $(LDFLAGS) unix2dos.obj querycp.obj common.obj setargv.obj mpr.lib
+ $(LINK) $(LDFLAGS) unix2dos.obj querycp.obj common.obj setargv.obj mpr.lib shell32.lib
!if "$(UCS)" == "1"
CFLAGS = $(CFLAGS) -DD2U_UNICODE
!endif
+!if "$(UNIFILE)" == "1"
+CFLAGS = $(CFLAGS) -DD2U_UNIFILE
+!endif
dos2unix.obj : $(SRCDIR)\dos2unix.c $(SRCDIR)\querycp.h $(SRCDIR)\common.h
$(CC) -c $(CFLAGS) $(SRCDIR)\dos2unix.c