1# Copyright 2023 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4ifndef NRFX_BASE
5$(error NRFX_BASE must be set to the nrfx checkout folder)
6endif
7
8ifndef NATIVE_SIM_PATH
9$(error NATIVE_SIM_PATH must be set to the native_simulator checkout folder)
10endif
11
12default: NRF52833
13compile: NRF52833
14
15NRF52833:
16	@$(MAKE) -f 52833.mk
17
18NRF5340:
19	@$(MAKE) -f 5340.mk
20
21# Let's just let the 52833 build handle any other target by default
22%::
23	@$(MAKE) -f 52833.mk $@
24
25.PHONY: NRF52833 NRF5340 default compile
26
27# No need to check implicit rules for this file itself
28Makefile: ;
29