~ubuntu-branches/ubuntu/raring/voxbo/raring

« back to all changes in this revision

Viewing changes to resample/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Michael Hanke
  • Date: 2010-06-06 11:33:11 UTC
  • Revision ID: james.westby@ubuntu.com-20100606113311-v3c13imdkkd5n7ae
Tags: upstream-1.8.5~svn1172
ImportĀ upstreamĀ versionĀ 1.8.5~svn1172

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
# Makefile for resample
 
3
 
 
4
-include ../make_vars.txt
 
5
include ../make_stuff.txt
 
6
 
 
7
# object files for the executables
 
8
 
 
9
RESAMPLEOBJECTS = resample.o
 
10
VBTRANSFORMOBJECTS = vbtransform.o
 
11
 
 
12
# miscellaneous flags and such
 
13
 
 
14
LIBS = $(LDFLAGS) $(LIBDIRS) -lm -lvbprefs -lvbio -lvbutil -lz -lpng $(DLLIB) $(GSL_LIBS)
 
15
 
 
16
# resample is in all packages
 
17
BINS=resample
 
18
OUT=vbtransform
 
19
 
 
20
# the main targets
 
21
 
 
22
all: $(BINS)
 
23
 
 
24
install: $(BINS)
 
25
ifdef BINS
 
26
        cp -Pf $(BINS) $(VB_BINDIR)
 
27
else
 
28
        @echo "Nothing to install."
 
29
endif
 
30
 
 
31
clean:
 
32
        rm -f $(CLEANME) $(BINS)
 
33
 
 
34
$(VBLIBS):
 
35
        +make -C ../lib $@
 
36
 
 
37
# THE EXECUTABLES
 
38
 
 
39
resample: $(RESAMPLEOBJECTS) $(VBLIBS)
 
40
        $(CXX) -o resample $(RESAMPLEOBJECTS) $(LIBS)
 
41
 
 
42
vbtransform: $(VBTRANSFORMOBJECTS) $(VBLIBS)
 
43
        $(CXX) -o vbtransform $(VBTRANSFORMOBJECTS) $(LIBS)
 
44
 
 
45
# THE OBJECTS
 
46
 
 
47
resample.o: resample.cpp $(VBLIBS)
 
48
        $(CXX) $(CXXFLAGS) -c -o resample.o resample.cpp
 
49
 
 
50
vbtransform.o: vbtransform.cpp $(VBLIBS)
 
51
        $(CXX) $(CXXFLAGS) -c -o vbtransform.o vbtransform.cpp