summary refs log tree commit diff stats
path: root/src/common/makefile.mak
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-05-30 22:54:08 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-05-30 22:54:08 +0200
commitbd0728f03b9a3742d50db68ac77f1c4ea042f0a2 (patch)
tree52d4e619cc049b91c89a03865ec9b8b6c4a5b5a4 /src/common/makefile.mak
parent67e3ef79bddff056459914a51bea128ed619c5ed (diff)
parent24ac838543bc99ea8d289925b4c5418107d5ae1f (diff)
Merge with default
Diffstat (limited to 'src/common/makefile.mak')
-rw-r--r--src/common/makefile.mak45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/common/makefile.mak b/src/common/makefile.mak
new file mode 100644
index 00000000..424316c0
--- /dev/null
+++ b/src/common/makefile.mak
@@ -0,0 +1,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