diff options
Diffstat (limited to 'supervisor/supervisor.mk')
| -rw-r--r-- | supervisor/supervisor.mk | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/supervisor/supervisor.mk b/supervisor/supervisor.mk new file mode 100644 index 000000000..f67439a97 --- /dev/null +++ b/supervisor/supervisor.mk @@ -0,0 +1,19 @@ +SRC_SUPERVISOR = \ + main.c \ + supervisor/port.c \ + supervisor/shared/autoreload.c \ + supervisor/shared/rgb_led_status.c + +ifeq ($(wildcard 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)) |
