diff --git a/Makefile b/Makefile index efc3380c36..a11c84ae98 100644 --- a/Makefile +++ b/Makefile @@ -449,6 +449,7 @@ tools/input_common_joyconfig.o: input/input_common.c $(HEADERS) $(Q)$(CC) $(CFLAGS) $(ASFLAGS) $(DEFINES) -c -o $@ $< install: $(TARGET) + rm -f git_version.o mkdir -p $(DESTDIR)$(PREFIX)/bin 2>/dev/null || /bin/true mkdir -p $(DESTDIR)$(GLOBAL_CONFIG_DIR) 2>/dev/null || /bin/true mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 2>/dev/null || /bin/true