dc4bb1af96
Edit win32/config.mk to set the paths to your openssl and zlib headers and libraries. Then, from the root of the tree: nmake -f NMakefile voila.
17 lines
326 B
Plaintext
17 lines
326 B
Plaintext
!include "win32/config.mk"
|
|
|
|
SUBDIRS=src
|
|
|
|
all: all-sub ssh2_sample.exe
|
|
|
|
ssh2_sample.exe: ssh2_sample.c
|
|
$(CC) $(CFLAGS) -DWIN32 -o ssh2_sample.exe ssh2_sample.c libssh2$(SUFFIX).lib $(LIBS)
|
|
|
|
all-sub:
|
|
-for %D in ($(SUBDIRS)) do $(MAKE) /nologo /f %D/NMakefile BUILD=$(BUILD) SUBDIR=%D all-sub
|
|
|
|
clean:
|
|
rmdir /s/q $(TARGET)
|
|
|
|
|