2018-04-26 13:24:40 +00:00
|
|
|
ARCH = $(shell uname -m)
|
|
|
|
OBJDIR ?= objs/$(ARCH)
|
2018-03-20 19:39:36 +00:00
|
|
|
|
2018-04-26 13:24:40 +00:00
|
|
|
.PHONY: all clean
|
2018-03-20 19:39:36 +00:00
|
|
|
|
2018-04-26 13:24:40 +00:00
|
|
|
all: Makefile.include
|
2018-05-30 15:22:12 +00:00
|
|
|
cd $(shell git rev-parse --show-toplevel) && git submodule update --init --rebase
|
2018-04-26 13:24:40 +00:00
|
|
|
$(MAKE) -C $(OBJDIR)
|
|
|
|
|
|
|
|
clean: Makefile.include
|
2018-06-04 11:04:18 +00:00
|
|
|
if [ -d $(OBJDIR) ]; then $(MAKE) -C $(OBJDIR) clean; fi
|