From bb424e96e792f65b034d14111d0c7faec86602eb Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Wed, 24 Jul 2024 20:50:14 -0700 Subject: [PATCH] Revert "Simplified makefile" This reverts commit 30911edb7aa0e2938041b4bff1f4d7568b87b1d2. --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f47cf4e..988fb5f 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