2005-01-03 23:46:15 +01:00
|
|
|
!include "win32/config.mk"
|
|
|
|
|
2014-11-30 18:39:57 +01:00
|
|
|
!if "$(WITH_WINCNG)" == "1"
|
|
|
|
!include "Makefile.WinCNG.inc"
|
|
|
|
!else
|
2013-09-18 09:28:40 +02:00
|
|
|
!include "Makefile.OpenSSL.inc"
|
2014-11-30 18:39:57 +01:00
|
|
|
!endif
|
2012-10-24 03:22:07 +02:00
|
|
|
!include "Makefile.inc"
|
|
|
|
|
|
|
|
OBJECTS=$(CSOURCES:.c=.obj)
|
|
|
|
|
2009-12-19 10:56:03 +01:00
|
|
|
# SUBDIRS=src example
|
2005-01-03 23:46:15 +01:00
|
|
|
SUBDIRS=src
|
|
|
|
|
2012-10-24 03:22:07 +02:00
|
|
|
all-sub: win32\objects.mk
|
2005-01-03 23:46:15 +01:00
|
|
|
-for %D in ($(SUBDIRS)) do $(MAKE) /nologo /f %D/NMakefile BUILD=$(BUILD) SUBDIR=%D all-sub
|
2007-07-15 22:06:19 +02:00
|
|
|
|
2005-01-03 23:46:15 +01:00
|
|
|
clean:
|
2012-10-24 02:37:55 +02:00
|
|
|
-rmdir 2>NUL /s/q $(TARGET)
|
2014-11-30 18:39:57 +01:00
|
|
|
-del 2>NUL win32\objects.mk
|
2007-07-15 22:06:19 +02:00
|
|
|
|
2012-10-24 02:37:55 +02:00
|
|
|
real-clean vclean: clean
|
|
|
|
-del 2>NUL libssh2.dll
|
|
|
|
-del 2>NUL libssh2.exp
|
|
|
|
-del 2>NUL libssh2.ilk
|
|
|
|
-del 2>NUL libssh2.lib
|
|
|
|
-del 2>NUL *.pdb
|
2005-01-03 23:46:15 +01:00
|
|
|
|
2012-10-24 03:22:07 +02:00
|
|
|
win32\objects.mk: Makefile.inc
|
|
|
|
@echo OBJECTS = \>$@
|
|
|
|
@for %O in ($(OBJECTS)) do @echo $$(INTDIR)\%O \>>$@
|
|
|
|
@echo $$(EOL)>>$@
|
2005-01-03 23:46:15 +01:00
|
|
|
|