1EXE := fsverity 2CFLAGS := -O2 -Wall 3CPPFLAGS := -D_FILE_OFFSET_BITS=64 4LDLIBS := -lcrypto 5DESTDIR := /usr/local 6SRC := $(wildcard *.c) 7OBJ := $(SRC:.c=.o) 8HDRS := $(wildcard *.h) 9 10all:$(EXE) 11 12$(EXE):$(OBJ) 13 14$(OBJ): %.o: %.c $(HDRS) 15 16clean: 17 rm -f $(EXE) $(OBJ) 18 19install:all 20 install -Dm755 -t $(DESTDIR)/bin $(EXE) 21 22.PHONY: all clean install 23