Makefile 519 Bytes
Newer Older
Federico Vaga's avatar
Federico Vaga committed
1 2 3 4
# SPDX-FileCopyrightText: 2020 CERN (home.cern)
#
# SPDX-License-Identifier: CC0-1.0

Federico Vaga's avatar
Federico Vaga committed
5
-include Makefile.specific
6 7
# include parent_common.mk for buildsystem's defines
# It allows you to inherit an environment configuration from larger project
8
REPO_PARENT ?= ..
9 10
-include $(REPO_PARENT)/parent_common.mk

Alessandro Rubini's avatar
Alessandro Rubini committed
11
all: modules tools
12 13

modules:
14
	$(MAKE) -C drivers/zio
15 16


Alessandro Rubini's avatar
Alessandro Rubini committed
17
.PHONY: tools
18

Alessandro Rubini's avatar
Alessandro Rubini committed
19 20
tools:
	$(MAKE) -C tools M=$(shell /bin/pwd)
21 22 23

# this make clean is ugly, I'm aware...
clean:
24
	$(MAKE) -C drivers/zio clean
Alessandro Rubini's avatar
Alessandro Rubini committed
25
	$(MAKE) -C tools clean