1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-04 08:25:03 -05:00
hexchat/plugins/wmpa/makefile.mak
2011-08-12 04:52:46 +02:00

54 lines
1.1 KiB
Makefile

include "..\..\src\makeinc.mak"
TARGET = xcwmpa.dll
WMPA_OBJECTS = \
wmpa.obj \
wmpadialog.obj \
wmpcdrom.obj \
wmpcdromcollection.obj \
wmpclosedcaption.obj \
wmpcontrols.obj \
wmpdvd.obj \
wmperror.obj \
wmperroritem.obj \
wmpmedia.obj \
wmpmediacollection.obj \
wmpnetwork.obj \
wmpplayer4.obj \
wmpplayerapplication.obj \
wmpplaylist.obj \
wmpplaylistarray.obj \
wmpplaylistcollection.obj \
wmpsettings.obj \
wmpstringcollection.obj \
xchat-plugin.obj
CPPFLAGS = $(CPPFLAGS) /EHsc /D_AFXDLL /D_AFX_NO_DAO_SUPPORT /D_WINDLL /D_USRDLL
all: $(WMPA_OBJECTS) $(TARGET)
.cpp.obj:
$(CC) $(CPPFLAGS) /Yc"StdAfx.h" /Fp"wmpa.pch" StdAfx.cpp
$(CC) $(CPPFLAGS) /Yu"StdAfx.h" /Fp"wmpa.pch" /c $<
$(TARGET): $(WMPA_OBJECTS)
rc /nologo /D_AFXDLL wmpa.rc
!ifdef X64
midl /nologo /mktyplib203 /char signed /env x64 /h wmpa_h.h /tlb wmpa.tlb wmpa.odl
!else
midl /nologo /mktyplib203 /char signed /env win32 /h wmpa_h.h /tlb wmpa.tlb wmpa.odl
!endif
$(LINK) /DLL /out:$(TARGET) $(LDFLAGS) $(WMPA_OBJECTS) $(LIBS) /def:wmpa.def wmpa.res
clean:
del $(TARGET)
del *.obj
del wmpa.pch
del wmpa.res
del wmpa.tlb
del wmpa_h.h
del wmpa_i.c
del *.exp
del *.lib