more winsys fixes and build as c++
This commit is contained in:
parent
7116b36d87
commit
5f758e821a
|
@ -1,15 +1,15 @@
|
||||||
include "..\..\src\makeinc.mak"
|
include "..\..\src\makeinc.mak"
|
||||||
|
|
||||||
all: winsys.obj winsys.def
|
all: winsys.obj winsys.def
|
||||||
link $(LDFLAGS) $(LIBS) wbemuuid.lib /dll /out:xcwinsys.dll /def:winsys.def winsys.obj
|
link $(LDFLAGS) $(LIBS) /NODEFAULTLIB:comsupp.lib wbemuuid.lib vccomsup.lib /dll /out:xcwinsys.dll /def:winsys.def winsys.obj
|
||||||
|
|
||||||
winsys.def:
|
winsys.def:
|
||||||
echo EXPORTS > winsys.def
|
echo EXPORTS > winsys.def
|
||||||
echo xchat_plugin_init >> winsys.def
|
echo xchat_plugin_init >> winsys.def
|
||||||
echo xchat_plugin_deinit >> winsys.def
|
echo xchat_plugin_deinit >> winsys.def
|
||||||
|
|
||||||
winsys.obj: winsys.c makefile.mak
|
winsys.obj: winsys.cpp makefile.mak
|
||||||
cl $(CFLAGS) $(GLIB) /Zc:wchar_t- /I.. winsys.c
|
cl $(CFLAGS) $(GLIB) /Zc:wchar_t- /I.. winsys.cpp
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
del *.obj
|
del *.obj
|
||||||
|
|
Loading…
Reference in New Issue