Index: .gitignore ================================================================== --- .gitignore +++ .gitignore @@ -1,5 +1,6 @@ build +test *.dll *.dylib *.so *~ Index: Makefile ================================================================== --- Makefile +++ Makefile @@ -6,11 +6,13 @@ PGResult.m \ PGResultRow.m \ exceptions/PGCommandFailedException.m \ exceptions/PGConnectionFailedException.m \ exceptions/PGException.m -HEADERS = ${SRCS:.m=.h} + +HEADERS = ${SRCS:.m=.h} \ + ObjPgSQL.h CPPFLAGS += -Wall -Iexceptions -I. LIBS += -lpq prefix ?= /usr/local ADDED ObjPgSQL.h Index: ObjPgSQL.h ================================================================== --- ObjPgSQL.h +++ ObjPgSQL.h @@ -0,0 +1,6 @@ +#import "PGConnection.h" +#import "PGResult.h" +#import "PGResultRow.h" +#import "exceptions/PGCommandFailedException.h" +#import "exceptions/PGConnectionFailedException.h" +#import "exceptions/PGException.h" Index: exceptions/PGException.h ================================================================== --- exceptions/PGException.h +++ exceptions/PGException.h @@ -1,8 +1,8 @@ #import -#import "PGConnection.h" +#import "../PGConnection.h" @interface PGException: OFException { PGConnection *connection; }