aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-08-17 10:02:29 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-08-17 10:02:29 +0000
commit36ae420497a73f7433eb2adbbbf47653ade3bc5f (patch)
treebaf836d0cd3a94af63d09f5e2419aa2b1db69e8e /Makefile
parent3d63bd8fc23fc1613d45c85c2ebde5f99f3689a6 (diff)
parent297b2d6f3dd9e0e6e9a587b0379f407b71ac8740 (diff)
mreged in changes from trunk to fully support the template Makefile
svn path=/branches/externals/hardware/wiimote-0.3/; revision=13821
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2b04372..acd55f5 100644
--- a/Makefile
+++ b/Makefile
@@ -18,12 +18,14 @@ SOURCES_Windows =
#
#------------------------------------------------------------------------------#
+VERSION=0.3.1
+
# where Pd lives
PD_PATH = ../../pd
# where to install the library
objectsdir = $(PD_PATH)/extra
-CFLAGS = -DPD -I$(PD_PATH)/src -Wall -W -g
+CFLAGS = -DPD -I$(PD_PATH)/src -Wall -W -g -DVERSION=\"$(VERSION)\"
LDFLAGS =
LIBS = -lcwiid -lbluetooth -lpthread
@@ -102,8 +104,8 @@ single_install: $(LIBRARY_NAME) install-doc install-exec
install-doc:
install -d $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
-# install -m644 -p $(SOURCES:.c=-help.pd) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
- install -m644 -p $(wildcard *.pd) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
+ install -m644 -p $(SOURCES:.c=-help.pd) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
+# install -m644 -p $(wildcard *.pd) $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)
install -m644 -p README $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/README.txt
install -m644 -p VERSION $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/VERSION.txt
install -m644 -p CHANGES $(DESTDIR)$(objectsdir)/$(LIBRARY_NAME)/CHANGES.txt