From 86df838b5cd57f28cb03e3ad2e924fe4232363d0 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 11 Feb 2009 00:59:06 +0000 Subject: added io/xbee to the main makefile svn path=/trunk/; revision=10755 --- externals/Makefile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/externals/Makefile b/externals/Makefile index ef2df2f1..eb5274bb 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -2679,6 +2679,41 @@ windowing_clean: -rm -f -- $(externals_src)/windowing/*.*~ +#------------------------------------------------------------------------------# +# XBEE +# this is installed into the "io" library +XBEE_NAME=io +XBEE_SRC := $(wildcard $(externals_src)/io/xbee/*.c) + +XBEE_OBJECTS := $(XBEE_SRC:.c=.o) +$(XBEE_OBJECTS) : %.o : %.c + $(CC) $(CFLAGS) -o "$*.o" -c "$*.c" + +$(externals_src)/io/xbee/xbee_test.$(EXTENSION): $(XBEE_OBJECTS) + $(CC) $(LDFLAGS) -o $(externals_src)/io/xbee/xbee_test.$(EXTENSION) \ + $(XBEE_OBJECTS) +# $(STRIP) $(externals_src)/io/xbee/xbee_test.$(EXTENSION) + +xbee: $(externals_src)/io/xbee/xbee_test.$(EXTENSION) + +xbee_install: xbee + install -d $(objectsdir)/$(XBEE_NAME) + install -p $(externals_src)/io/xbee/xbee_test.$(EXTENSION) \ + $(objectsdir)/$(XBEE_NAME) + install -d $(helpdir)/$(XBEE_NAME) + install -p $(externals_src)/io/xbee/*.pd \ + $(helpdir)/$(XBEE_NAME) + install -d $(manualsdir)/$(XBEE_NAME) + install -p $(externals_src)/io/xbee/*.txt \ + $(manualsdir)/$(XBEE_NAME) + +xbee_clean: + -rm -f -- $(externals_src)/io/xbee/xbee_test.$(EXTENSION) + -rm -f -- $(XBEE_OBJECTS:.c=.o) + -rm -f -- $(externals_src)/io/xbee/*.bak + -rm -f -- $(externals_src)/io/xbee/*.*~ + + #------------------------------------------------------------------------------# # Zexy ZEXY_NAME = zexy -- cgit v1.2.1