diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2010-08-17 10:02:29 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2010-08-17 10:02:29 +0000 |
commit | 36ae420497a73f7433eb2adbbbf47653ade3bc5f (patch) | |
tree | baf836d0cd3a94af63d09f5e2419aa2b1db69e8e /Makefile | |
parent | 3d63bd8fc23fc1613d45c85c2ebde5f99f3689a6 (diff) | |
parent | 297b2d6f3dd9e0e6e9a587b0379f407b71ac8740 (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-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |