# # Windows # Make file to build the dbConnect API # Copyright (c) Johnathan Ingram 2000 - 2004, jingram@roguware.org # # Make sure you have edited the windows.conf file for settings ###################################################################### # Include the configuration file. # Need to edit the windows.conf" configuration file before compiling include windows.conf all: @for %d in ($(subdirs)) do \ (cd %d & nmake /f Makefile.win) || exit 1 \ & cd $(MAKEDIR) @echo "Now type 'nmake /f Makefile.win example' if you would like to build the examples" example: @cd .\examples && $(MAKE) /f Makefile.win & cd $(MAKEDIR) clean: @for %d in ($(subdirs)) do \ (cd %d & $(MAKE) /f Makefile.win clean) || exit 1 \ & cd $(MAKEDIR) @if exist .\include\*.h del .\include\*.h @if exist .\include\dbconn\*.h del .\include\dbconn\*.h @if exist .\lib\*.lib del .\lib\*.lib @if exist .\lib\*.dll del .\lib\*.dll @if exist .\lib\drivers\*.dll del .\lib\drivers\*.dll @cd .\examples & nmake /f Makefile.win clean & cd $(MAKEDIR)