Subversion Repositories SvarDOS

Rev

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

Rev 1282 Rev 1285
Line 2... Line 2...
2
# sved Makefile -- requires OpenWatcom (wmake)
2
# sved Makefile -- requires OpenWatcom (wmake)
3
# Copyright (C) 2023 Mateusz Viste
3
# Copyright (C) 2023 Mateusz Viste
4
#
4
#
5
 
5
 
6
CC = wcc
6
CC = wcc
7
CFLAGS = -0 -mc -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 -fm=sved.map -fe=sved.exe
9
LDFLAGS = -lr -mt -fm=sved.map -fe=sved.com
10
LDLIBS = svarlang\svarlngc.lib mdr\mdrc2023.lib
10
LDLIBS = svarlang\svarlngs.lib mdr\mdrs2023.lib
11
 
11
 
12
all: sved.exe
12
all: sved.com
13
 
13
 
14
sved.exe: sved.obj deflang.obj
14
sved.com: sved.obj deflang.obj
15
	wcl $(LDLIBS) sved.obj deflang.obj $(LDFLAGS)
15
	wcl $(LDLIBS) sved.obj deflang.obj $(LDFLAGS)
16
 
16
 
17
.c.obj: .autodepend
17
.c.obj: .autodepend
18
	$(CC) $(CFLAGS) $*.C
18
	$(CC) $(CFLAGS) $*.C
19
 
19