Skip to content

Commit ccf6fd1

Browse files
vriesdavidmalcolm
authored andcommitted
Makefile: Use PLUGIN_OBJECT_FILES var to simplify rule
1 parent 41f52bd commit ccf6fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ $(PLUGIN_OBJECT_GENERATED_FILES): CPPFLAGS+= $(if $(srcdir),-I$(srcdir))
155155

156156
# This is the standard .c->.o recipe, but it needs to be stated
157157
# explicitly to support the case that $(srcdir) is not blank.
158-
$(PLUGIN_OBJECT_SOURCE_FILES) $(PLUGIN_OBJECT_GENERATED_FILES): %.o: $(srcdir)%.c autogenerated-config.h $(srcdir)gcc-python.h $(LIBGCC_C_API_SO) autogenerated-EXTRA_CFLAGS.txt
158+
$(PLUGIN_OBJECT_FILES): %.o: $(srcdir)%.c autogenerated-config.h $(srcdir)gcc-python.h $(LIBGCC_C_API_SO) autogenerated-EXTRA_CFLAGS.txt
159159
$(COMPILE.c) $(shell cat autogenerated-EXTRA_CFLAGS.txt) $(OUTPUT_OPTION) $<
160160

161161
print-gcc-version: print-gcc-version.c autogenerated-EXTRA_CFLAGS.txt

0 commit comments

Comments
 (0)