1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-05 00:45:03 -05:00
hexchat/plugins/python/makefile.mak

26 lines
669 B
Makefile
Raw Normal View History

2011-02-28 12:59:32 -05:00
include "..\..\src\makeinc.mak"
2011-12-11 12:04:35 -05:00
DIRENTLIB = ..\..\src\common\dirent-win32.lib
2011-02-28 12:59:32 -05:00
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