Imported Upstream version 7.4.1
[platform/upstream/dos2unix.git] / wccdos32.mak
1 !include version.mk\r
2 \r
3 CC      = wcc386\r
4 SRCDIR = .\r
5 DEFINES = -DVER_REVISION="$(DOS2UNIX_VERSION)" -DVER_DATE="$(DOS2UNIX_DATE)" -DVER_AUTHOR="$(DOS2UNIX_AUTHOR)"\r
6 CFLAGS  = $(DEFINES) -i=$(SRCDIR) -w4 -e25 -zq -od -d2 -5r -bt=dos -mf\r
7 WATCOMSRC = $(%WATCOM)\src\startup\r
8 PROGRAMS = dos2unix.exe unix2dos.exe mac2unix.exe unix2mac.exe\r
9 HTMLEXT = htm\r
10 PACKAGE = dos2unix\r
11 DOCFILES = man\man1\$(PACKAGE).txt man\man1\$(PACKAGE).$(HTMLEXT)\r
12 VERSIONSUFFIX = pm\r
13 ZIPFILE = d2u$(DOS2UNIX_VERSION_SHORT)$(VERSIONSUFFIX).zip\r
14 ZIPOBJ_EXTRA = bin\cwstub.exe\r
15 docsubdir = dos2unix\r
16 \r
17 prefix = c:\dos32\r
18 \r
19 TARGET = causeway\r
20 \r
21 all: $(PROGRAMS) $(DOCFILES) .SYMBOLIC\r
22 \r
23 dos2unix.exe: dos2unix.obj querycp.obj common.obj wildargv.obj\r
24         @%create dos2unix.lnk\r
25         @%append dos2unix.lnk FIL dos2unix.obj,querycp.obj,common.obj,wildargv.obj\r
26         wlink name dos2unix d all SYS $(TARGET) op inc op m op st=64k op maxe=25 op q op symf @dos2unix.lnk\r
27         del dos2unix.lnk\r
28 \r
29 unix2dos.exe: unix2dos.obj querycp.obj common.obj wildargv.obj\r
30         @%create unix2dos.lnk\r
31         @%append unix2dos.lnk FIL unix2dos.obj,querycp.obj,common.obj,wildargv.obj\r
32         wlink name unix2dos d all SYS $(TARGET) op inc op m op st=64k op maxe=25 op q op symf @unix2dos.lnk\r
33         del unix2dos.lnk\r
34 \r
35 !include wcc.mif\r
36 \r