!include "win32/config.mk"

!include "win32/objects.mk"

CFLAGS=$(CFLAGS)

RESOURCE=$(INTDIR)\libssh2.res

DLL=libssh2$(SUFFIX).dll

all: $(DLL)

$(DLL): $(OBJECTS) $(RESOURCE)
	$(CC) -o $(DLL) $(DLLFLAGS) $(OBJECTS) $(RESOURCE) $(LIBS)

$(RESOURCE): win32\libssh2.rc
	$(RC) $(RCFLAGS) /Fo"$@" $?

!include "win32/rules.mk"

