Skip to content

Commit

Permalink
Makefile: Structurate correctly for Arduino and PlatformIO
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo Mena C <rgacort12@gmail.com>
  • Loading branch information
wifixcort committed Dec 17, 2016
1 parent 21b19e6 commit 719f1ed
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Expand Up @@ -137,11 +137,12 @@ html:

ARDUINO_LIB_FILES = MQTTClient/src/*.h MQTTClient/src/arduino/*.h $(srcdir)/*
ARDUINO_SAMPLES = MQTTClient/samples/arduino/*
LEGAL_FILES = edl-v10 epl-v10 notice.html about.html CONTRIBUTING.md README.md
LEGAL_FILES = edl-v10 epl-v10 notice.html about.html CONTRIBUTING.md README.md library.properties

arduino: mkdir
-mkdir -p ${blddir}/arduino/MQTTClient/examples
cp $(ARDUINO_LIB_FILES) ${blddir}/arduino/MQTTClient
-mkdir -p ${blddir}/arduino/MQTTClient/src
cp $(ARDUINO_LIB_FILES) ${blddir}/arduino/MQTTClient/src
cp $(LEGAL_FILES) ${blddir}/arduino/MQTTClient
cp -R $(ARDUINO_SAMPLES) ${blddir}/arduino/MQTTClient/examples
cd ${blddir}/arduino && zip -r arduino MQTTClient
Expand Down
9 changes: 9 additions & 0 deletions library.properties
@@ -0,0 +1,9 @@
name=MQTTClient
version=1.0.0
author=Ian Craggs
maintainer=Ian Craggs https://github.com/icraggs
sentence=This is the lowest level library, the simplest and smallest, but hardest to use. It simply deals with serialization and deserialization of MQTT packets.
paragraph=...
category=Communication
url=https://github.com/eclipse/paho.mqtt.embedded-c
architectures=*

0 comments on commit 719f1ed

Please sign in to comment.