1 MODULE_big = my_first_extension
2 EXTENSION = my_first_extension # Name of the extension
3 DATA = my_first_extension--0.0.3.sql my_first_extension--0.0.1--0.0.2.sql my_first_extension--0.0.2--0.0.3.sql
4 REGRESS = my_first_extension-main-test
6 OBJS = my_first_extension.o
9 PG_CONFIG ?= pg_config # Path to the pg_config executable
10 PGXS := $(shell $(PG_CONFIG) --pgxs) # Get the PostgreSQL Extension Makefile from pg_config
11 include $(PGXS) # Include the PostgreSQL Extension Makefile