1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-14 21:35:06 -05:00
hexchat/plugins/python/makefile.mak

25 lines
605 B
Makefile
Raw Normal View History

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
2010-08-24 14:03:18 -04:00
$(CC) $(CFLAGS) /Dusleep=_sleep /DPATH_MAX=255 python.c $(GLIB) /I$(PYTHONPATH)\include /DPYTHON_DLL=\"$(PYTHONLIB).dll\"
$(TARGET): python.obj python.def
2010-08-24 14:03:18 -04:00
$(LINK) /dll /out:$(TARGET) $(LDFLAGS) python.obj /libpath:$(PYTHONPATH)\libs $(PYTHONLIB).lib $(LIBS) /def:python.def
clean:
del $(TARGET)
del *.obj
del python.def
del *.lib
del *.exp