diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -88,13 +88,13 @@ libgamepad_absolute_axis_names__.o: absolute-axis.names libgamepad_relative_axis_names__.o: relative-axis.names button.names: names.sh - printf '%s\n' '#include <linux/input.h>' | $(CPP) -dM | ./names.sh BTN KEY > $@ + ./names.sh '0x%03X' BTN KEY < $(INPUT_EVENT_CODES_H) > $@ absolute-axis.names: names.sh - printf '%s\n' '#include <linux/input.h>' | $(CPP) -dM | ./names.sh ABS > $@ + ./names.sh '0x%02X' ABS < $(INPUT_EVENT_CODES_H) > $@ relative-axis.names: names.sh - printf '%s\n' '#include <linux/input.h>' | $(CPP) -dM | ./names.sh REL > $@ + ./names.sh '0x%02X' REL < $(INPUT_EVENT_CODES_H) > $@ .names.count: wc -l < $< > $@ |