diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-04-02 07:29:16 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-04-02 07:29:16 +0200 |
commit | c7ec88c88adb4f15b154ad125977d9c2c4ae4956 (patch) | |
tree | 09b886a96255b141e59747b3d3b375b576b2cdc5 /plugins/python/makefile.mak | |
parent | 876a185af371a92d73725a25ccda3a41fdaebd37 (diff) |
move additions to own repo, so that patch contains only modifications
Diffstat (limited to 'plugins/python/makefile.mak')
-rw-r--r-- | plugins/python/makefile.mak | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/plugins/python/makefile.mak b/plugins/python/makefile.mak new file mode 100644 index 00000000..dd321e89 --- /dev/null +++ b/plugins/python/makefile.mak @@ -0,0 +1,24 @@ +include "..\..\src\makeinc.mak" + +TARGET = $(PYTHONOUTPUT) + +all: $(TARGET) + +python.def: + echo EXPORTS > python.def + echo xchat_plugin_init >> python.def + echo xchat_plugin_deinit >> python.def + echo xchat_plugin_get_info >> python.def + +python.obj: python.c + $(CC) $(CFLAGS) /Dusleep=_sleep /DPATH_MAX=255 python.c $(GLIB) /I.. /I$(PYTHONPATH)\INCLUDE /DPYTHON_DLL=\"$(PYTHONLIB).dll\" + +$(TARGET): python.obj python.def + $(LINK) /DLL /out:$(TARGET) $(LDFLAGS) python.obj $(PYTHONLIB).lib /LIBPATH:$(PYTHONPATH)\LIBS $(PYTHONLIB).lib $(LIBS) /def:python.def + +clean: + del $(TARGET) + del *.obj + del python.def + del *.lib + del *.exp |