From c7ec88c88adb4f15b154ad125977d9c2c4ae4956 Mon Sep 17 00:00:00 2001 From: "berkeviktor@aol.com" Date: Fri, 2 Apr 2010 07:29:16 +0200 Subject: move additions to own repo, so that patch contains only modifications --- plugins/tcl/makefile.mak | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 plugins/tcl/makefile.mak (limited to 'plugins/tcl') diff --git a/plugins/tcl/makefile.mak b/plugins/tcl/makefile.mak new file mode 100644 index 00000000..5f43ebb7 --- /dev/null +++ b/plugins/tcl/makefile.mak @@ -0,0 +1,22 @@ +include "..\..\src\makeinc.mak" + +TARGET = $(TCLOUTPUT) + +all: $(TARGET) + +tcl.def: + echo EXPORTS > tcl.def + echo xchat_plugin_init >> tcl.def + echo xchat_plugin_deinit >> tcl.def + echo xchat_plugin_get_info >> tcl.def + +tclplugin.obj: tclplugin.c + $(CC) $(CFLAGS) tclplugin.c /I$(TCLPATH)\INCLUDE /I../../include /I.. /DTCL_DLL=\"$(TCLLIB).dll\" + +$(TARGET): tclplugin.obj tcl.def + $(LINK) /DLL /out:$(TARGET) $(LDFLAGS) tclplugin.obj /LIBPATH:$(TCLPATH)\LIB $(TCLLIB).lib /DELAYLOAD:$(TCLLIB).dll DELAYIMP.LIB /def:tcl.def + +clean: + del $(TARGET) + del *.obj + del tcl.def -- cgit 1.4.1