2010-04-02 09:29:16 +04:00
|
|
|
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
|
2010-08-16 16:39:35 +04:00
|
|
|
$(CC) $(CFLAGS) tclplugin.c /I$(TCLPATH)\include /I../../include /I.. /DTCL_DLL=\"$(TCLLIB).dll\"
|
2010-04-02 09:29:16 +04:00
|
|
|
|
|
|
|
$(TARGET): tclplugin.obj tcl.def
|
2010-08-16 16:39:35 +04:00
|
|
|
$(LINK) /DLL /out:$(TARGET) $(LDFLAGS) tclplugin.obj /libpath:$(TCLPATH)\lib $(TCLLIB).lib /DELAYLOAD:$(TCLLIB).dll DELAYIMP.LIB /def:tcl.def
|
2010-04-02 09:29:16 +04:00
|
|
|
|
|
|
|
clean:
|
|
|
|
del $(TARGET)
|
|
|
|
del *.obj
|
|
|
|
del tcl.def
|