Add Windows file version information to test_json_parser programs.
authorNoah Misch <[email protected]>
Sun, 16 Jun 2024 19:29:30 +0000 (12:29 -0700)
committerNoah Misch <[email protected]>
Sun, 16 Jun 2024 19:29:30 +0000 (12:29 -0700)
src/test/modules/test_json_parser/Makefile

index 6f438629d8cbbf8d94283d2cab198f9e57e51464..2dc7175b7c8fe79cca695f20dbd105970bb7502d 100644 (file)
@@ -4,7 +4,7 @@ PGAPPICON = win32
 
 TAP_TESTS = 1
 
-OBJS = test_json_parser_incremental.o test_json_parser_perf.o
+OBJS = test_json_parser_incremental.o test_json_parser_perf.o $(WIN32RES)
 
 EXTRA_CLEAN = test_json_parser_incremental$(X) test_json_parser_perf$(X)
 
@@ -23,10 +23,10 @@ all: test_json_parser_incremental$(X) test_json_parser_perf$(X)
 
 %.o: $(top_srcdir)/$(subdir)/%.c
 
-test_json_parser_incremental$(X): test_json_parser_incremental.o
+test_json_parser_incremental$(X): test_json_parser_incremental.o $(WIN32RES)
    $(CC) $(CFLAGS) $^ $(PG_LIBS_INTERNAL) $(LDFLAGS) $(LDFLAGS_EX) $(PG_LIBS) $(LIBS) -o $@
 
-test_json_parser_perf$(X): test_json_parser_perf.o
+test_json_parser_perf$(X): test_json_parser_perf.o $(WIN32RES)
    $(CC) $(CFLAGS) $^ $(PG_LIBS_INTERNAL) $(LDFLAGS) $(LDFLAGS_EX) $(PG_LIBS) $(LIBS) -o $@
 
 speed-check: test_json_parser_perf$(X)