view 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
line wrap: on
line source
# Makefile to build ishara audio java components
# This will build ishara_audio.jar and move it into the
# parent directory.

# change this if your tritonus jar files are somewhere else.
# This is where Debian based linux distributions put them

UNAME=$(shell uname)
ifeq ($(UNAME),Linux)
	EXTDIRS=-Djava.ext.dirs=/usr/share/java
else
	EXTDIRS=
endif

# On Mac OS X, there are already several directories where 
# extension jars can go - eg, ~/Library/Java/Extensions
# or /Library/Java/Extensions. In this case, you can put
# the tritonus jars in any of those directories and
# set EXTDIRS empty like this:

SRCS=AudioSink.java LineSink.java StreamSink.java TestLine.java AudioSource.java LineSource.java StreamSource.java Util.java

ishara_audio.jar: $(SRCS)
	javac -d . $(EXTDIRS) $(SRCS)
	jar cf ishara_audio.jar ishara

clean:
	rm -rf ishara