diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-22 12:58:37 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-22 12:58:37 +0100 |
| commit | cf92368317b4bbceaff1935105ce8790e7e1b610 (patch) | |
| tree | 1b8170471bdad79405c6dde8dad02a54b9d89c7c /Makefile | |
| parent | Update e-mail (diff) | |
| download | sleep-until-cf92368317b4bbceaff1935105ce8790e7e1b610.tar.gz sleep-until-cf92368317b4bbceaff1935105ce8790e7e1b610.tar.bz2 sleep-until-cf92368317b4bbceaff1935105ce8790e7e1b610.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |
