summary refs log blame commit diff stats
path: root/src/common/makefile.mak
blob: 8b350efc1075d8d3bce79cc109fd415541649e05 (plain) (tree)


























                        
















                                                          
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 \
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