diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-04-16 19:33:59 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-04-16 19:33:59 +0200 |
commit | 4950155eb67d219b9d0ab04728573714a01526a4 (patch) | |
tree | 41c0e519d336f477e651894ac154f77bc8e1cf84 /plugins/python/makefile.mak | |
parent | ca434e0e7af61a9c8d911dd79eeec03789f012ae (diff) | |
parent | a032b3b995bf33b65e575b64784edfff7236f616 (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 |