summary refs log tree commit diff stats
path: root/plugins/tcl
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-08-24 20:03:18 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-08-24 20:03:18 +0200
commitcbcf58aba6497db777fe41d0b9651d0b905c9605 (patch)
tree785a4061a6c7deca097b8568a7546a529740a65f /plugins/tcl
parente0e70fccd444000c74ee505d790fbfb64e1ed1c2 (diff)
huge cleanup on build system
Diffstat (limited to 'plugins/tcl')
-rw-r--r--plugins/tcl/makefile.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/tcl/makefile.mak b/plugins/tcl/makefile.mak
index 51d31efb..252af81b 100644
--- a/plugins/tcl/makefile.mak
+++ b/plugins/tcl/makefile.mak
@@ -11,10 +11,10 @@ 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\"
+	$(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
+	$(LINK) /dll /out:$(TARGET) $(LDFLAGS) tclplugin.obj /libpath:$(TCLPATH)\lib $(TCLLIB).lib /delayload:$(TCLLIB).dll delayimp.lib /def:tcl.def
 
 clean:
 	del $(TARGET)