diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-05-30 22:54:08 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-05-30 22:54:08 +0200 |
commit | bd0728f03b9a3742d50db68ac77f1c4ea042f0a2 (patch) | |
tree | 52d4e619cc049b91c89a03865ec9b8b6c4a5b5a4 /plugins/python/makefile.mak | |
parent | 67e3ef79bddff056459914a51bea128ed619c5ed (diff) | |
parent | 24ac838543bc99ea8d289925b4c5418107d5ae1f (diff) |
Merge with default
Diffstat (limited to 'plugins/python/makefile.mak')
-rw-r--r-- | plugins/python/makefile.mak | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/python/makefile.mak b/plugins/python/makefile.mak new file mode 100644 index 00000000..8cbba3f5 --- /dev/null +++ b/plugins/python/makefile.mak @@ -0,0 +1,25 @@ +include "..\..\src\makeinc.mak" + +DIRENTLIB = ..\..\src\common\dirent.lib +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) /I.. /Dusleep=_sleep /DPATH_MAX=255 python.c $(GLIB) /I$(PYTHONPATH)\include /DPYTHON_DLL=\"$(PYTHONLIB).dll\" + +$(TARGET): python.obj python.def + $(LINK) /dll /out:$(TARGET) $(LDFLAGS) python.obj /libpath:$(PYTHONPATH)\libs $(PYTHONLIB).lib $(DIRENTLIB) $(LIBS) /def:python.def + +clean: + del $(TARGET) + del *.obj + del python.def + del *.lib + del *.exp |