summary refs log tree commit diff stats
path: root/src/common/makefile.mak
blob: 424316c0838c9a40ea416d524f218cb88630a8df (plain) (blame)
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
38
39
40
41
42
43
44
45
include "..\makeinc.mak"

COMMON_OBJECTS = \
cfgfiles.obj \
chanopt.obj \
ctcp.obj \
dcc.obj \
dirent.obj \
history.obj \
ignore.obj \
inbound.obj \
modes.obj \
network.obj \
notify.obj \
outbound.obj \
plugin.obj \
plugin-timer.obj \
proto-irc.obj \
server.obj \
servlist.obj \
ssl.obj \
text.obj \
thread.obj \
tree.obj \
url.obj \
userlist.obj \
util.obj \
wdkutil.obj \
xchat.obj

all: $(COMMON_OBJECTS) xchatcommon.lib dirent.lib

xchatcommon.lib: $(COMMON_OBJECTS)
	lib /nologo /out:xchatcommon.lib $(COMMON_OBJECTS)

dirent.lib: dirent.obj
	lib /nologo /out:dirent.lib dirent.obj

.c.obj::
	$(CC) $(CFLAGS) $(GLIB) $<

clean:
	@del *.obj
	@del xchatcommon.lib
	@del dirent.lib