quantile icon indicating copy to clipboard operation
quantile copied to clipboard

Build for posgresql-11 : make: *** No rule to make target 'quantile.bc', needed by 'all'. Stop.

Open retd-jerome opened this issue 7 years ago • 0 comments

Update the Makefile

# the extensions name
EXTENSION     = quantile
DATA          = $(wildcard sql/*--*.sql)        # script files to install
TESTS         = $(wildcard test/sql/*.sql)      # use test/sql/*.sql as testfile

# find the sql and expected directories under test
# load plpgsql into test db
# load base36 extension into test db
# dbname
REGRESS_OPTS  = --inputdir=test                         --load-extension=quantile                 --load-language=plpgsql
REGRESS       = $(patsubst test/sql/%.sql,%,$(TESTS))
OBJS          = $(patsubst %.c,%.o,$(wildcard src/*.c)) # object files
# final shared library to be build from multiple source files (OBJS)
MODULE_big    = $(EXTENSION)

# postgres build stuff
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)

retd-jerome avatar Nov 23 '18 14:11 retd-jerome