26 ms·
Another way, with target-specific variables (might be a GNUism): special.o: CFLAGS += -Wno-blah %.o: %.c echo $(CC) $(CFLAGS) -o $@ $<
by Pete_D 7y ago
Another way, with target-specific variables (might be a GNUism):
special.o: CFLAGS += -Wno-blah
%.o: %.c
echo $(CC) $(CFLAGS) -o $@ $<