neorv32/sw/example/demo_spi_irq/makefile

16 lines
525 B
Makefile
Raw Permalink Normal View History

2024-02-24 08:25:27 +00:00
# Modify this variable to fit your NEORV32 setup (neorv32 home folder)
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)
APP_INC ?= -I . -I .\drv
include $(NEORV32_HOME)\sw\common\common.mk
else
2024-02-24 08:25:27 +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
endif