]> git.sesse.net Git - bcachefs-tools-debian/blob - Makefile
UUIDs
[bcachefs-tools-debian] / Makefile
1
2 #PREFIX=/usr/local
3 CFLAGS=-O2 -Wall -g
4
5 all: make-bcache probe-bcache
6
7 clean:
8         rm -f make-bcache bcache-test *.o
9
10 install: make-bcache probe-bcache
11         install -m0755 make-bcache ${PREFIX}/sbin/
12         install -m0755 probe-bcache ${PREFIX}/sbin/
13         install -m0644 61-bcache.rules /lib/udev/rules.d/
14         install -m0755 initramfs /usr/share/initramfs-tools/hooks/bcache
15 #       install -m0755 bcache-test ${PREFIX}/sbin/
16
17
18 bcache-test: LDFLAGS += -lm -lssl -lcrypto
19 make-bcache: LDFLAGS += -luuid
20 probe-bcache: LDFLAGS += -luuid