# # Windows # Make file to build the Postgresql Examples dbConnect API # Copyright (c) Johnathan Ingram 2004, jingram@roguware.org # ##################################################################### include ..\..\windows.conf IFLAGS = -I../../include LFLAGS = ..\..\lib\libdbconnect.lib all: pgsql_types pgsql_function pgsql_types: pgsql_types.cpp $(CXX) /c pgsql_types.cpp $(CPPFLAGS) $(IFLAGS) /Fopgsql_types.obj $(CXX) pgsql_types.obj $(CPPFLAGS) $(LFLAGS) /Fepgsql_types.exe pgsql_function: pgsql_function.cpp $(CXX) /c pgsql_function.cpp $(CPPFLAGS) $(IFLAGS) /Fopgsql_function.obj $(CXX) pgsql_function.obj $(CPPFLAGS) $(LFLAGS) /Fepgsql_function.exe clean: @if exist *.obj del *.obj @if exist *.lib del *.lib @if exist *.exp del *.exp @if exist pgsql_types.exe del pgsql_types.exe @if exist pgsql_function.exe del pgsql_function.exe