Skip to content

Commit 6327e14

Browse files
committed
Fix Makefile
1 parent 2f5d1d2 commit 6327e14

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ OBJS = sr_plan.o serialize.o deserialize.o $(WIN32RES)
66
EXTENSION = sr_plan
77
DATA = sr_plan--1.0.sql sr_plan--unpackaged--1.0.sql
88
PGFILEDESC = "sr_plan - save and read plan"
9+
EXTRA_CLEAN = serialize.c deserialize.c
910

1011
REGRESS = sr_plan
1112

@@ -21,5 +22,7 @@ include $(top_srcdir)/contrib/contrib-global.mk
2122
endif
2223

2324

24-
genparser:
25+
serialize.c deserialize.c: gen_parser.py serialize.mako deserialize.mako nodes.h
2526
python gen_parser.py nodes.h `$(PG_CONFIG) --includedir-server`
27+
28+
all: serialize.c

0 commit comments

Comments
 (0)