suffix rule with dependency generates a warning
https://www.gnu.org/software/make/manual/html_node/Error-Messages.html
(bottom of page)
the other is a short initialized with an int literal that wraps to
a negative short value
sbbmisc_CFLAGS = $(AM_CFLAGS) @FLAG_NO_PIE@
shrld_CFLAGS = $(AM_CFLAGS) @FLAG_NO_PIE@
-.def.c: $(srcdir)/gen_insn_test.pl
+.def.c:
$(PERL) $(srcdir)/gen_insn_test.pl < $< > $@
sbb_ib_al();
printf("r1 = %d %d\n", (int)out_b1, (int)out_b2);
- in_w = 49999;
+ in_w = -15537; /* was 49999 but that causes a warning */
sbb_iw_ax();
printf("r2 = %d %d\n", (int)out_w1, (int)out_w2);
x86locked_CFLAGS = $(AM_CFLAGS) -O
yield_LDADD = -lpthread
-.def.c: $(srcdir)/gen_insn_test.pl
+.def.c:
$(PERL) $(srcdir)/gen_insn_test.pl < $< > $@
sbb_ib_al();
printf("r1 = %d %d\n", (int)out_b1, (int)out_b2);
- in_w = 49999;
+ in_w = -15537; /* was 49999 but that causes a warning */
sbb_iw_ax();
printf("r2 = %d %d\n", (int)out_w1, (int)out_w2);