pgvector.git / summary / log / commit / refs
commit bb424e96e792f65b034d14111d0c7faec86602eb
Author: Andrew Kane <andrew@ankane.org>
Date: Thu Jul 25 03:50:14 2024 +0000
Revert "Simplified makefile"
This reverts commit 30911edb7aa0e2938041b4bff1f4d7568b87b1d2.
Makefile | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index f47cf4e1..988fb5f4 100644
--- a/Makefile
+++ b/Makefile
@@ -38,13 +38,15 @@ PG_CFLAGS += $(OPTFLAGS) -ftree-vectorize -fassociative-math -fno-signed-zeros -
# Debug Clang auto-vectorization
# PG_CFLAGS += -Rpass=loop-vectorize -Rpass-analysis=loop-vectorize
-PG_CONFIG ?= pg_config
-PGXS := $(shell $(PG_CONFIG) --pgxs)
-include $(PGXS)
+all: sql/$(EXTENSION)--$(EXTVERSION).sql
sql/$(EXTENSION)--$(EXTVERSION).sql: sql/$(EXTENSION).sql
cp $< $@
+PG_CONFIG ?= pg_config
+PGXS := $(shell $(PG_CONFIG) --pgxs)
+include $(PGXS)
+
# for Mac
ifeq ($(PROVE),)
PROVE = prove
[parent: 30911edb7aa0]