kpatch/test/unit/Makefile

12 lines
281 B
Makefile

ARCH = $(shell uname -m)
OBJDIR ?= objs/$(ARCH)
.PHONY: all clean
all: Makefile.include
cd $(shell git rev-parse --show-toplevel) && git submodule update --init --rebase
$(MAKE) -C $(OBJDIR)
clean: Makefile.include
if [ -d $(OBJDIR) ]; then $(MAKE) -C $(OBJDIR) clean; fi