1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-26 19:22:22 -05:00
hexchat/plugins/xtray/makefile.mak

38 lines
686 B
Makefile
Raw Normal View History

2011-02-28 12:59:32 -05:00
include "..\..\src\makeinc.mak"
TARGET = xtray.dll
TRAY_OBJECTS = \
callbacks.obj \
sdAlerts.obj \
sdTray.obj \
utility.obj \
xchat.obj \
xtray.obj
CPPFLAGS = $(CPPFLAGS) /D_STL70_ /D_STATIC_CPPLIB /EHsc /DUNICODE /D_UNICODE
all: $(TRAY_OBJECTS) $(TARGET)
xtray.def:
echo EXPORTS > xtray.def
echo xchat_plugin_init >> xtray.def
echo xchat_plugin_deinit >> xtray.def
.cpp.obj:
2011-11-29 20:22:38 -05:00
$(CC) $(CPPFLAGS) /I.. /c $<
2011-02-28 12:59:32 -05:00
res:
rc /nologo resource.rc
$(TARGET): $(TRAY_OBJECTS) xtray.def res
$(LINK) /DLL /out:$(TARGET) $(LDFLAGS) $(TRAY_OBJECTS) ntstc_msvcrt.lib $(LIBS) /def:xtray.def resource.res
clean:
del $(TARGET)
del *.obj
del xtray.def
del resource.res
del *.lib
del *.exp