mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-02 00:00:03 +03:00
21 lines
508 B
Makefile
21 lines
508 B
Makefile
|
|
#PREFIX=/usr/local
|
|
CFLAGS=-O2 -Wall -g
|
|
|
|
all: make-bcache probe-bcache
|
|
|
|
clean:
|
|
rm -f make-bcache bcache-test *.o
|
|
|
|
install: make-bcache probe-bcache
|
|
install -m0755 make-bcache ${PREFIX}/sbin/
|
|
install -m0755 probe-bcache ${PREFIX}/sbin/
|
|
install -m0644 61-bcache.rules /lib/udev/rules.d/
|
|
install -m0755 initramfs /usr/share/initramfs-tools/hooks/bcache
|
|
# install -m0755 bcache-test ${PREFIX}/sbin/
|
|
|
|
|
|
bcache-test: LDFLAGS += -lm -lssl -lcrypto
|
|
make-bcache: LDFLAGS += -luuid
|
|
probe-bcache: LDFLAGS += -luuid
|