forked from DGNum/liminix
d16169bd33
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
18 lines
357 B
Makefile
18 lines
357 B
Makefile
PREFIX ?= /usr
|
|
DESTDIR ?=
|
|
SBINDIR ?= $(PREFIX)/sbin
|
|
LOCALSTATEDIR ?= /var/lib
|
|
CFLAGS ?= -O2 -pipe
|
|
|
|
CFLAGS += -Wall -Wextra -pedantic
|
|
CFLAGS += -DLOCALSTATEDIR="\"$(LOCALSTATEDIR)\""
|
|
|
|
seedrng: seedrng.c
|
|
|
|
install: seedrng
|
|
install -v -d "$(DESTDIR)$(SBINDIR)" && install -v -m 0755 seedrng "$(DESTDIR)$(SBINDIR)/seedrng"
|
|
|
|
clean:
|
|
rm -f seedrng
|
|
|
|
.PHONY: clean
|