UDEVLIBDIR=/lib/udev
DRACUTLIBDIR=/lib/dracut
INSTALL=install
-CFLAGS+=-std=gnu99 -O2 -Wall -Werror -g -I.
+CFLAGS+=-std=gnu99 -O2 -Wall -Werror -g -Iinclude
+LDFLAGS+=-static
all: bcacheadm probe-bcache
#include <stdint.h>
#include <blkid.h>
#include <string.h>
-#include <linux/fs.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <uuid/uuid.h>
#include <dirent.h>
-#include <bcache.h> //libbcache
+#include "bcache.h" //libbcache
#define PACKAGE_NAME "bcacheadm"
#define PACKAGE_VERSION "1.0"