From cf92368317b4bbceaff1935105ce8790e7e1b610 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 22 Feb 2026 12:58:37 +0100 Subject: m fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 61d51fb..3c03fe2 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,8 @@ zsh: sleep-until.zsh fish: sleep-until.fish clocks.h: - sed -n 's/^[ \t]*#[ \t]*define[ \t][ \t]*\(CLOCK_[^ \t]*\).*$$/X(\1)/p' < /usr/include/bits/time.h > $@ + sed -n 's/^[ \t]*#[ \t]*define[ \t][ \t]*\(CLOCK_[^ \t]*\).*$$/X(\1)/p' < $(CLOCK_HEADER_FILE) | \ + sed '/X(CLOCK_SGI_CYCLE)/d' > $@ sleep-until.o: sleep-until.c clocks.h $(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS) @@ -63,6 +64,6 @@ uninstall: -rmdir -- "$(DESTDIR)$(PREFIX)/share/bash-completion" clean: - -rm -f -- sleep-until *.o clocks.h *.bash *.zsh *.fish + -rm -f -- sleep-until *.o *.su clocks.h *.bash *.zsh *.fish -.PHONY: all base shell bash zsh fish install install-base install-shell install-base install-zsh install-fish uninstall clean +.PHONY: all base shell bash zsh fish install install-base install-shell install-zsh install-fish uninstall clean -- cgit v1.2.3-70-g09d2