From 10161ed5d605f374c95a9d86657ea6219b487774 Mon Sep 17 00:00:00 2001 From: Michael Banck Date: Tue, 21 May 2024 16:29:29 +0200 Subject: [PATCH] Reference java source files with absolute path in Makefile. This allows for out-of-tree builds, fixing issue #39. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 6e1bf19..0862dfa 100644 --- a/Makefile +++ b/Makefile @@ -22,10 +22,10 @@ UNAME = $(shell uname) TRGTS = JAVAFILES JAVA_SOURCES = \ - JDBCUtils.java \ - JDBCDriverLoader.java \ - JDBCConnection.java \ - resultSetInfo.java + $(srcdir)/JDBCUtils.java \ + $(srcdir)/JDBCDriverLoader.java \ + $(srcdir)/JDBCConnection.java \ + $(srcdir)/resultSetInfo.java PG_CPPFLAGS=-D'PKG_LIB_DIR=$(pkglibdir)' -I$(libpq_srcdir)