kpatch/kpatch-build/Makefile
Josh Poimboeuf 4f27b9ae31 functional reorganization
Organize the files functionally:
- kmod/core: core kmod source
- kmod/patch: patch kmod source
- kpatch: kpatch script
- kpatch-build: kpatch build script and supporting tools
- contrib: distro-related files
2014-02-13 11:00:06 -06:00

16 lines
383 B
Makefile

CFLAGS=-I../kmod/core
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
$(CC) $(CFLAGS) -o $@ $^ -lelf
link-vmlinux-syms: link-vmlinux-syms.c
$(CC) $(CFLAGS) -o $@ $^ -lelf
clean:
$(RM) -Rf create-diff-object add-patches-section link-vmlinux-syms