diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-11-04 16:46:40 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-11-10 10:09:07 +0100 |
| commit | f10ec90ea5bd75df4670ede9bfa8c364589ae57f (patch) | |
| tree | fa1b3f39119f692e6805ec1c385a1dd4f5994cd9 /Makefile | |
| parent | 09a92a1c46fc020efc485cd7665c69626ce6ae29 (diff) | |
| download | sparse-dev-f10ec90ea5bd75df4670ede9bfa8c364589ae57f.tar.gz | |
build: avoid rule-specific CFLAGS
Those are not evil but it's for consistency with the remaining.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ PROGRAMS += test-inspect INST_PROGRAMS += test-inspect test-inspect-objs := test-inspect.o test-inspect-objs += ast-model.o ast-view.o ast-inspect.o -$(test-inspect-objs) $(test-inspect-objs:.o=.sc): CFLAGS += $(GTK_CFLAGS) +$(foreach p,$(test-inspect-objs:.o=),$(eval $(p)-cflags := $(GTK_CFLAGS))) test-inspect-ldlibs := $(GTK_LIBS) else $(warning Your system does not have gtk3/gtk2, disabling test-inspect) |
