~ubuntu-branches/ubuntu/wily/japa/wily

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Package Import Robot
  • Author(s): Jaromír Mikeš
  • Date: 2013-08-07 02:19:42 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130807021942-1rdfsndm8ga103f5
Tags: 0.8.4-1
* New upstream release.
* Fixed URL in watch file.
* Fixed URL and upstream email.
* Fixed homepage URL.
* Set dh/compat 9
* Tighten build-dep on libclthreads.
* Tighten build-dep on libclxclient.
* Bump standards.
* Fix VCS canonical URLs.
* Set Priority optional.
* Don't sign tags.
* Update copyright file.
* Added Keywords entry to desktop files.
* Tune gitignore file to handle rather dir.
* Update man pages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#  --------------------------------------------------------------------------
2
 
#
3
 
#  Copyright (C) 2004-2010 Fons Adriaensen <fons@kokkinizita.net>
4
 
#
5
 
#  This program is free software; you can redistribute it and/or modify
6
 
#  it under the terms of the GNU General Public License as published by
7
 
#  the Free Software Foundation; either version 2 of the License, or
8
 
#  (at your option) any later version.
9
 
#
10
 
#  This program is distributed in the hope that it will be useful,
11
 
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 
#  GNU General Public License for more details.
14
 
#
15
 
#  You should have received a copy of the GNU General Public License
16
 
#  along with this program; if not, write to the Free Software
17
 
#  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18
 
#
19
 
#  --------------------------------------------------------------------------
20
 
 
21
 
 
22
 
PREFIX = /usr
23
 
SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/')
24
 
LIBDIR = lib$(SUFFIX)
25
 
VERSION = 0.6.0
26
 
DISTDIR = japa-$(VERSION)
27
 
CPPFLAGS += -O3 -Wall -MMD -MP -DVERSION=\"$(VERSION)\" -DPREFIX=\"$(PREFIX)\" -I/usr/include/freetype2
28
 
#CPPFLAGS += -march=native
29
 
 
30
 
LDFLAGS += -L$(PREFIX)/$(LIBDIR) -L/usr/X11R6/$(LIBDIR)
31
 
LDLIBS += -lclalsadrv -lclthreads -lclxclient -lpthread -lfftw3f -ljack -lasound -lpthread -lXft -lX11 -lrt
32
 
 
33
 
 
34
 
JAPA_O = analyser.o audio.o gobjects.o japa.o mainwin.o styles.o rngen.o
35
 
japa:   $(JAPA_O)
36
 
        g++ $(LDFLAGS) -o $@ $(JAPA_O) $(LDLIBS)
37
 
 
38
 
$(JAPA_O):
39
 
-include $(JAPA_O:%.o=%.d)
40
 
 
41
 
 
42
 
install:        japa
43
 
        install -Dm 755 japa $(DESTDIR)$(PREFIX)/bin/japa
44
 
 
45
 
clean:
46
 
        /bin/rm -f *~ *.o *.a *.d *.so japa
47