-
Notifications
You must be signed in to change notification settings - Fork 30
/
snek-install.defs
65 lines (61 loc) · 2.61 KB
/
snek-install.defs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
DESTDIR =
PREFIX ?= /usr/local
LIBDIR ?= $(PREFIX)/lib
BINDIR ?= $(PREFIX)/bin
SHAREDIR ?= $(PREFIX)/share/snek
DOCDIR ?= $(PREFIX)/share/doc/snek
EXAMPLEDIR ?= $(PREFIX)/share/doc/snek/examples
PKGCONFIG ?= $(LIBDIR)/pkgconfig
APPDIR ?= $(PREFIX)/share/applications
ICONDIR ?= $(PREFIX)/share/icons/hicolor/scalable/apps
MANDIR ?= $(PREFIX)/share/man
SNEKLIB ?= $(PREFIX)/share/snek
SNEKDIST ?= keithp.com:/var/local/sneklang/www/dist
SNEKDOC ?= keithp.com:/var/local/sneklang/www/doc
SNEK_HIFIVE1REVB ?= 0
ifneq "$(SNEK_HIFIVE1REVB)" "0"
SNEK_PORTS_HIFIVE1REVB=$(SNEK_PORTS)/hifive1revb/snek-hifive1revb-$(SNEK_VERSION).hex
endif
SNEK_ESP32 ?= 0
ifneq "$(SNEK_ESP32)" "0"
SNEK_PORTS_ESP32=$(SNEK_PORTS)/esp32/snek-esp32-$(SNEK_VERSION).bin
endif
SNEK_NANO_EVERY ?= 0
ifneq "$(SNEK_NANO_EVERY)" "0"
SNEK_PORTS_NANO_EVERY=$(SNEK_PORTS)/nano-every/snek-nano-every-$(SNEK_VERSION).hex
endif
#SNEKMAC ?= imac-remote:build/snek
FIRMWARE ?= \
$(SNEK_PORTS)/crickit/snek-crickit-$(SNEK_VERSION).uf2 \
$(SNEK_PORTS)/duemilanove/snek-duemilanove-$(SNEK_VERSION).hex \
$(SNEK_PORTS)/duemilanove-big/snek-duemilanove-big-$(SNEK_VERSION).hex \
$(SNEK_PORTS)/ev3/snek-ev3-$(SNEK_VERSION) \
$(SNEK_PORTS)/feather/snek-feather-$(SNEK_VERSION).uf2 \
$(SNEK_PORTS)/grove/snek-grove-$(SNEK_VERSION).hex \
$(SNEK_PORTS)/itsybitsy3v/snek-itsybitsy3v-$(SNEK_VERSION).hex \
$(SNEK_PORTS)/itsybitsy5v/snek-itsybitsy5v-$(SNEK_VERSION).hex \
$(SNEK_PORTS)/itsybitsym0/snek-itsybitsym0-$(SNEK_VERSION).uf2 \
$(SNEK_PORTS)/lilypad/snek-lilypad-$(SNEK_VERSION).hex \
$(SNEK_PORTS)/lilypad-big/snek-lilypad-big-$(SNEK_VERSION).hex \
$(SNEK_PORTS)/mega/snek-mega-$(SNEK_VERSION).hex \
$(SNEK_PORTS)/metrom0/snek-metrom0-$(SNEK_VERSION).uf2 \
$(SNEK_PORTS)/nano33iot/snek-nano33iot-$(SNEK_VERSION).uf2 \
$(SNEK_PORTS)/narrow-1284/snek-narrow-1284-$(SNEK_VERSION).hex \
$(SNEK_PORTS)/playground/snek-playground-$(SNEK_VERSION).uf2 \
$(SNEK_PORTS)/qemu-arm/snek-qemu-arm-$(SNEK_VERSION).elf \
$(SNEK_PORTS)/qemu-riscv/snek-qemu-riscv-$(SNEK_VERSION).elf \
$(SNEK_PORTS)/snekboard/snek-board-$(SNEK_VERSION).uf2 \
$(SNEK_PORTS)/uduino/snek-uduino-$(SNEK_VERSION).hex \
$(SNEK_PORTS)/uno/snek-uno-$(SNEK_VERSION).hex \
$(SNEK_PORTS)/uno-big/snek-uno-big-$(SNEK_VERSION).hex \
$(SNEK_PORTS)/xiao/snek-xiao-$(SNEK_VERSION).uf2 \
$(SNEK_PORTS_HIFIVE1REVB) $(SNEK_PORTS_ESP32) \
$(SNEK_PORTS_NANO_EVERY)
USBFIRMWARE ?= \
$(SNEK_PORTS)/nano33iot/update-bootloader-nano33iot.ino \
$(SNEK_PORTS)/snekboard/bootloader-snekboard.bin
LESSON_PDF ?= $(shell echo $(SNEK_DOC)/lessons/lesson-*/lesson-*.pdf)
PDF ?= \
$(SNEK_DOC)/snek.pdf \
$(LESSON_PDF)
include $(SNEK_ROOT)/snek.defs