2024-02-24 08:25:27 +00:00
|
|
|
# Modify this variable to fit your NEORV32 setup (neorv32 home folder)
|
2024-02-27 23:43:22 +00:00
|
|
|
OSFLAG :=
|
|
|
|
|
|
|
|
ifeq ($(OS),Windows_NT)
|
|
|
|
NEORV32_HOME ?= ..\..\..
|
2024-02-24 08:25:27 +00:00
|
|
|
|
|
|
|
APP_SRC ?= $(wildcard ./*.c) $(wildcard ./*.s) $(wildcard ./*.cpp) $(wildcard ./*.S) $(wildcard ./drv/*.c)
|
2024-02-27 23:43:22 +00:00
|
|
|
APP_INC ?= -I . -I .\drv
|
|
|
|
include $(NEORV32_HOME)\sw\common\common.mk
|
|
|
|
else
|
2024-02-24 08:25:27 +00:00
|
|
|
|
2024-02-27 23:43:22 +00:00
|
|
|
NEORV32_HOME ?= ../../..
|
|
|
|
APP_SRC ?= $(wildcard ./*.c) $(wildcard ./*.s) $(wildcard ./*.cpp) $(wildcard ./*.S) $(wildcard ./drv/*.c)
|
|
|
|
APP_INC ?= -I . -I ./drv
|
2024-02-24 08:25:27 +00:00
|
|
|
include $(NEORV32_HOME)/sw/common/common.mk
|
2024-02-27 23:43:22 +00:00
|
|
|
endif
|