circuitpython/supervisor/supervisor.mk

24 lines
628 B
Makefile
Raw Normal View History

SRC_SUPERVISOR = \
main.c \
supervisor/port.c \
supervisor/shared/autoreload.c \
2018-07-25 08:06:30 -04:00
supervisor/shared/rgb_led_status.c \
2018-07-31 19:53:54 -04:00
supervisor/shared/stack.c \
supervisor/shared/translate.c
ifeq ($(wildcard atmel-samd/supervisor/filesystem.c),)
SRC_SUPERVISOR += supervisor/filesystem.c
else
SRC_SUPERVISOR += supervisor/stub/filesystem.c
endif
ifeq ($(wildcard atmel-samd/supervisor/serial.c),)
SRC_SUPERVISOR += supervisor/serial.c
else
SRC_SUPERVISOR += supervisor/stub/serial.c
endif
SUPERVISOR_O = $(addprefix $(BUILD)/, $(SRC_SUPERVISOR:.c=.o))
2018-07-31 19:53:54 -04:00
$(BUILD)/supervisor/shared/translate.o: $(HEADER_BUILD)/qstrdefs.generated.h