2011-02-28 12:59:32 -05:00
|
|
|
include "..\makeinc.mak"
|
|
|
|
|
|
|
|
COMMON_OBJECTS = \
|
|
|
|
cfgfiles.obj \
|
|
|
|
chanopt.obj \
|
|
|
|
ctcp.obj \
|
|
|
|
dcc.obj \
|
2011-12-11 12:04:35 -05:00
|
|
|
dirent-win32.obj \
|
2011-02-28 12:59:32 -05:00
|
|
|
history.obj \
|
2012-02-01 12:09:27 -05:00
|
|
|
identd.obj \
|
2011-02-28 12:59:32 -05:00
|
|
|
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 \
|
|
|
|
xchat.obj
|
|
|
|
|
2011-12-11 12:04:35 -05:00
|
|
|
all: $(COMMON_OBJECTS) xchatcommon.lib dirent-win32.lib
|
2011-02-28 12:59:32 -05:00
|
|
|
|
|
|
|
xchatcommon.lib: $(COMMON_OBJECTS)
|
|
|
|
lib /nologo /out:xchatcommon.lib $(COMMON_OBJECTS)
|
|
|
|
|
2011-12-11 12:04:35 -05:00
|
|
|
dirent-win32.lib: dirent-win32.obj
|
|
|
|
lib /nologo /out:dirent-win32.lib dirent-win32.obj
|
2011-02-28 12:59:32 -05:00
|
|
|
|
|
|
|
.c.obj::
|
|
|
|
$(CC) $(CFLAGS) $(GLIB) $<
|
|
|
|
|
|
|
|
clean:
|
|
|
|
@del *.obj
|
|
|
|
@del xchatcommon.lib
|
2011-12-11 12:04:35 -05:00
|
|
|
@del dirent-win32.lib
|