diff options
author | Andrew Riedi <andrewriedi@gmail.com> | 2007-07-09 00:32:19 -0700 |
---|---|---|
committer | Andrew Riedi <andrewriedi@gmail.com> | 2007-07-09 00:32:19 -0700 |
commit | f8d5eaa768f3c242eb6bab4df2dfff00f3ce7a61 (patch) | |
tree | 90a35166029d67f2ebcd3d6f1c33b523a5d5c40a | |
parent | 4f82c026495d452540c090ca424379164b6da755 (diff) | |
download | sound-f8d5eaa768f3c242eb6bab4df2dfff00f3ce7a61.tar.gz sound-f8d5eaa768f3c242eb6bab4df2dfff00f3ce7a61.tar.bz2 |
Update a couple Makefiles.
-rw-r--r-- | Makefile | 62 | ||||
-rw-r--r-- | data/Makefile | 14 |
2 files changed, 51 insertions, 25 deletions
@@ -1,31 +1,45 @@ +# Copyright (C) 2007 Andrew Riedi <andrewriedi@gmail.com> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + all: - cd alsa && make all - cd portaudio && make all - cd ogg && make all - cd sound && make all - cd soundeffects && make all - cd data && make all + @cd alsa && make all + @if [ -e /usr/include/portaudio.h ]; then \ + cd portaudio && make all; \ + fi; + @cd ogg && make all + @cd sound && make all + @cd soundeffects && make all + @cd data && make all clean: - cd alsa && make clean - cd portaudio && make clean - cd ogg && make clean - cd sound && make clean - cd soundeffects && make clean - cd data && make clean + @cd alsa && make clean + @cd portaudio && make clean + @cd ogg && make clean + @cd sound && make clean + @cd soundeffects && make clean + @cd data && make clean install: - cd alsa && make install - cd portaudio && make install - cd ogg && make install - cd sound && make install - cd soundeffects && make install - cd data && make install + @cd alsa && make install + @cd portaudio && make install + @cd ogg && make install + @cd sound && make install + @cd soundeffects && make install + @cd data && make install uninstall: - cd alsa && make uninstall - cd portaudio && make uninstall - cd ogg && make uninstall - cd sound && make uninstall - cd soundeffects && make uninstall - cd data && make uninstall + @cd alsa && make uninstall + @cd portaudio && make uninstall + @cd ogg && make uninstall + @cd sound && make uninstall + @cd soundeffects && make uninstall + @cd data && make uninstall diff --git a/data/Makefile b/data/Makefile index ce0a2d3..935c56e 100644 --- a/data/Makefile +++ b/data/Makefile @@ -1,3 +1,15 @@ +# Copyright (C) 2007 Andrew Riedi <andrewriedi@gmail.com> +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + SOUNDS_DIR = ~/.compiz/sounds/default ECHO = `which echo` @@ -16,7 +28,7 @@ all: clean: -install: +install: all @$(ECHO) -e -n "\033[0;34m"; @mkdir -p $(SOUNDS_DIR) @cp -v *.ogg $(SOUNDS_DIR) |