summary refs log tree commit diff stats
path: root/win32/ext/lua-wdk
AgeCommit message (Expand)Author
2012-01-10update Lua-WDK to 5.2Berke Viktor
2011-12-11restructuringBerke Viktor
2010-08-24 20:03:18 +0200 huge cleanup on build system' href='/git-repos/torxchat.git/commit/plugins/tcl/makefile.mak?id=cbcf58aba6497db777fe41d0b9651d0b905c9605'>cbcf58ab ^
c7ec88c8 ^

cbcf58ab ^
c7ec88c8 ^




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 /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