mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-08 23:08:29 +00:00
21 lines
582 B
Makefile
21 lines
582 B
Makefile
CONTIKI_PROJECT = sky-shell-exec
|
|
all: $(CONTIKI_PROJECT)
|
|
|
|
TARGET=sky
|
|
|
|
APPS = serial-shell
|
|
CONTIKI = ../..
|
|
include $(CONTIKI)/Makefile.include
|
|
|
|
%.shell-upload: %.ce
|
|
(echo; sleep 4; echo "~K"; sleep 4; \
|
|
echo "dec64 | write $*.ce | null"; sleep 4; \
|
|
../../tools/base64-encode < $<; sleep 4; \
|
|
echo ""; echo "~K"; echo "read $*.ce | size"; sleep 4) | make login
|
|
|
|
.PHONY: compile-executable upload-executable
|
|
compile-executable: hello-world.ce
|
|
echo Compiled Contiki executable: $<
|
|
|
|
upload-executable: hello-world.shell-upload
|
|
echo Uploaded Contiki executable: $<
|