Skip to content

Instantly share code, notes, and snippets.

@jasperla
Created December 10, 2011 09:29
Show Gist options
  • Save jasperla/1454875 to your computer and use it in GitHub Desktop.
Save jasperla/1454875 to your computer and use it in GitHub Desktop.
applet_files: $(TARGET).ino
test -d applet || mkdir applet
echo '#include "Arduino.h"' > applet/$(TARGET).cpp
cat $(TARGET).ino >> applet/$(TARGET).cpp
cat $(ARDUINO)/cores/arduino/main.cpp >> applet/$(TARGET).cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment