CFLAGS=-I../kpatch-kmod
all: create-diff-object add-patches-section link-vmlinux-syms
create-diff-object: create-diff-object.c
$(CC) $(CFLAGS) -o $@ $^ -lelf
add-patches-section: add-patches-section.c
link-vmlinux-syms: link-vmlinux-syms.c
clean:
$(RM) -Rf create-diff-object add-patches-section link-vmlinux-syms