mirror of
https://github.com/moparisthebest/hexchat
synced 2024-10-31 15:35:03 -04:00
31 lines
575 B
Makefile
31 lines
575 B
Makefile
|
include "..\..\src\makeinc.mak"
|
||
|
|
||
|
TARGET = xcfishlim.dll
|
||
|
|
||
|
CFLAGS = $(CFLAGS)
|
||
|
|
||
|
FISHLIM_OBJECTS = \
|
||
|
fish.obj \
|
||
|
irc.obj \
|
||
|
keystore.obj \
|
||
|
misc.obj \
|
||
|
xchat_plugin.obj
|
||
|
|
||
|
all: $(FISHLIM_OBJECTS) fishlim.def
|
||
|
link $(LDFLAGS) $(LIBS) /dll /out:xcfishlim.dll /def:fishlim.def $(FISHLIM_OBJECTS)
|
||
|
|
||
|
fishlim.def:
|
||
|
echo EXPORTS > fishlim.def
|
||
|
echo xchat_plugin_init >> fishlim.def
|
||
|
echo xchat_plugin_deinit >> fishlim.def
|
||
|
echo xchat_plugin_get_info >> fishlim.def
|
||
|
|
||
|
.c.obj:
|
||
|
$(CC) $(CFLAGS) $(GLIB) /I.. /c $<
|
||
|
|
||
|
clean:
|
||
|
del *.obj
|
||
|
del *.dll
|
||
|
del *.exp
|
||
|
del *.lib
|