Subversion Repositories SvarDOS

Rev

Rev 1339 | Rev 1368 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1339 Rev 1366
Line 4... Line 4...
4
#
4
#
5
 
5
 
6
CC = wcc
6
CC = wcc
7
CFLAGS = -0 -ms -os -wx -we -d0 -I=mdr\inc
7
CFLAGS = -0 -ms -os -wx -we -d0 -I=mdr\inc
8
CFLAGS += -s
8
CFLAGS += -s
9
LDFLAGS = -lr -mt -fm=sved.map -fe=sved.com
9
LDFLAGS = -lr -mt -fm=edit.map -fe=edit.com
10
LDLIBS = svarlang\svarlngs.lib mdr\mdrs2023.lib
10
LDLIBS = svarlang\svarlngs.lib mdr\mdrs2023.lib
11
 
11
 
12
all: sved.com
12
all: edit.com
13
 
13
 
14
sved.com: sved.obj deflang.obj
14
edit.com: sved.obj deflang.obj
15
	wcl $(LDLIBS) sved.obj deflang.obj $(LDFLAGS)
15
	wcl $(LDLIBS) sved.obj deflang.obj $(LDFLAGS)
16
	upx -9 --8086 sved.com
16
	upx -9 --8086 edit.com
17
 
17
 
18
.c.obj: .autodepend
18
.c.obj: .autodepend
19
	$(CC) $(CFLAGS) $*.C
19
	$(CC) $(CFLAGS) $*.C
20
 
20
 
21
clean: .symbolic
21
clean: .symbolic
22
	del *.obj
22
	del *.obj
23
	del sved.com
23
	del edit.com