mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-24 22:32:23 +00:00
27 lines
544 B
Makefile
27 lines
544 B
Makefile
|
DEFINES=PROJECT_CONF_H=\"project-conf.h\"
|
||
|
|
||
|
# Define the target platform
|
||
|
ifndef TARGET
|
||
|
TARGET=z1
|
||
|
endif
|
||
|
|
||
|
# Give a name to your project
|
||
|
CONTIKI = ../../../../contiki-2.x/
|
||
|
CONTIKI_PROJECT = rssi-scanner
|
||
|
|
||
|
# Compile project typing "make"
|
||
|
all: $(CONTIKI_PROJECT)
|
||
|
|
||
|
# Upload project typing "make upload"
|
||
|
upload: $(CONTIKI_PROJECT).upload
|
||
|
|
||
|
%.class: %.java
|
||
|
javac $(basename $<).java
|
||
|
|
||
|
viewrssi: ViewRSSI.class
|
||
|
make login | java ViewRSSI
|
||
|
|
||
|
# ContikiProjects: including the makefile
|
||
|
#include ../../../Makefile.projects
|
||
|
include $(CONTIKI)/Makefile.include
|