Mercurial > hg > ishara
annotate audio/java/Makefile @ 61:eff6bddf82e3 tip
Finally implemented perceptual brightness thing.
author | samer |
---|---|
date | Sun, 11 Oct 2015 10:20:42 +0100 |
parents | 079896153110 |
children |
rev | line source |
---|---|
samer@46 | 1 # Makefile to build ishara audio java components |
samer@46 | 2 # This will build ishara_audio.jar and move it into the |
samer@46 | 3 # parent directory. |
samer@46 | 4 |
samer@46 | 5 # change this if your tritonus jar files are somewhere else. |
samer@46 | 6 # This is where Debian based linux distributions put them |
samer@51 | 7 |
samer@51 | 8 UNAME=$(shell uname) |
samer@51 | 9 ifeq ($(UNAME),Linux) |
samer@51 | 10 EXTDIRS=-Djava.ext.dirs=/usr/share/java |
samer@51 | 11 else |
samer@51 | 12 EXTDIRS= |
samer@51 | 13 endif |
samer@46 | 14 |
samer@46 | 15 # On Mac OS X, there are already several directories where |
samer@46 | 16 # extension jars can go - eg, ~/Library/Java/Extensions |
samer@46 | 17 # or /Library/Java/Extensions. In this case, you can put |
samer@46 | 18 # the tritonus jars in any of those directories and |
samer@46 | 19 # set EXTDIRS empty like this: |
samer@46 | 20 |
samer@46 | 21 SRCS=AudioSink.java LineSink.java StreamSink.java TestLine.java AudioSource.java LineSource.java StreamSource.java Util.java |
samer@46 | 22 |
samer@46 | 23 ishara_audio.jar: $(SRCS) |
samer@46 | 24 javac -d . $(EXTDIRS) $(SRCS) |
samer@46 | 25 jar cf ishara_audio.jar ishara |
samer@46 | 26 |
samer@46 | 27 clean: |
samer@46 | 28 rm -rf ishara |
samer@46 | 29 |