diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..121272a --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +CFLAGS ?= -O2 -s +CFLAGS += -Wall -Wextra + +prefix = /usr/local +sbindir = $(prefix)/sbin + +all: nureadahead-preload + +nureadahead-preload: nureadahead-preload.c + $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ + +clean: + rm -f nureadahead-preload + +install: all + install -Dm755 nureadahead-collect $(DESTDIR)$(sbindir) + install -Dm755 nureadahead-collect-auto $(DESTDIR)$(sbindir) + install -Dm755 nureadahead-init $(DESTDIR)$(sbindir) + install -Dm755 nureadahead-merge $(DESTDIR)$(sbindir) + install -Dm755 nureadahead-preload $(DESTDIR)$(sbindir) + +.PHONY: all clean install |