From: Scott Worley Date: Thu, 8 Oct 2020 20:55:53 +0000 (-0700) Subject: Makefile X-Git-Tag: v1.0.0 X-Git-Url: http://git.scottworley.com/keystroke-timestamps/commitdiff_plain/3695e0aa0d39aca2012b2d848ac025c434b78459?ds=sidebyside Makefile --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..58b87c5 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +prefix = /usr/local +bindir = $(prefix)/bin +INSTALL = install + +keystroke-timestamps: + +%: %.c + $(CC) -Wall -Wextra -pedantic -o $@ $^ + +install: keystroke-timestamps + $(INSTALL) -d $(DESTDIR)$(bindir) + $(INSTALL) -m 755 $^ $(DESTDIR)$(bindir)