Skip to content
Snippets Groups Projects
Makefile 783 B
Newer Older
# SPDX-FileCopyrightText: 2022 CERN (home.cern)
#
# SPDX-License-Identifier: LGPL-2.1-or-later

-include Makefile.specific
# include parent_common.mk for buildsystem's defines
# use absolute path for REPO_PARENT
CURDIR:=$(shell /bin/pwd)
REPO_PARENT ?= $(CURDIR)/..
-include $(REPO_PARENT)/parent_common.mk
# This can be overriden in cases where WRTD itself is a dependency
# and one does not want to recursively check out WRTD's dependency
# on Mock Turtle.
WRTD_DEP_TRTL ?= $(CURDIR)/../dependencies/mock-turtle
DIRS = lib lib/python tools
.PHONY: all clean install $(DIRS)
clean:   TARGET = clean
install: TARGET = install

$(DIRS):
	$(MAKE) -C $@ $(TARGET)

libmockturtle:
	$(MAKE) -C $(WRTD_DEP_TRTL)/software/lib