aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-02-28 04:02:06 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-02-28 04:02:06 +0000
commit2e4887f3a41400f179da558976ff0040c0229acb (patch)
treecdbc7c660de673a8372c886a325dd69684e0dafa
parent13e1be7b765bcb2a4ae9b61100732ab011d7d021 (diff)
added etags
svn path=/trunk/externals/hardware/arduino/; revision=7451
-rw-r--r--Pd_firmware/Makefile25
1 files changed, 24 insertions, 1 deletions
diff --git a/Pd_firmware/Makefile b/Pd_firmware/Makefile
index fa855dc..0343de5 100644
--- a/Pd_firmware/Makefile
+++ b/Pd_firmware/Makefile
@@ -43,7 +43,7 @@
# 7. Type "make upload", reset your Arduino board, and press enter to
# upload your program to the Arduino board.
#
-# $Id: Makefile,v 1.1 2007-02-28 03:51:51 eighthave Exp $
+# $Id: Makefile,v 1.2 2007-02-28 04:02:06 eighthave Exp $
PORT = /dev/tty.usbserial-1*
TARGET = Pd_firmware
@@ -225,3 +225,26 @@ depend:
$(CC) -M -mmcu=$(MCU) $(CDEFS) $(INCLUDE) $(SRC) $(ASRC) >> $(MAKEFILE)
.PHONY: all build elf hex eep lss sym program coff extcoff clean depend
+
+# for emacs
+etags:
+ make etags_`uname -s`
+ etags applet/*.cpp \
+ $(ARDUINO_SRC)/*.[ch] \
+ $(ARDUINO_SRC)/*.cpp \
+ $(ARDUINO)/lib/targets/libraries/*/*.[ch] \
+ $(ARDUINO)/lib/targets/libraries/*/*.cpp \
+ $(ARDUINO)/tools/avr/avr/include/avr/*.[ch] \
+ $(ARDUINO)/tools/avr/avr/include/*.[ch]
+
+etags_Darwin:
+# etags -a
+
+etags_Linux:
+# etags -a /usr/include/*.h linux/input.h /usr/include/sys/*.h
+
+etags_MINGW:
+# etags -a /usr/include/*.h /usr/include/sys/*.h
+
+
+