2
# Makefile for resample
4
-include ../make_vars.txt
5
include ../make_stuff.txt
7
# object files for the executables
9
RESAMPLEOBJECTS = resample.o
10
VBTRANSFORMOBJECTS = vbtransform.o
12
# miscellaneous flags and such
14
LIBS = $(LDFLAGS) $(LIBDIRS) -lm -lvbprefs -lvbio -lvbutil -lz -lpng $(DLLIB) $(GSL_LIBS)
16
# resample is in all packages
26
cp -Pf $(BINS) $(VB_BINDIR)
28
@echo "Nothing to install."
32
rm -f $(CLEANME) $(BINS)
39
resample: $(RESAMPLEOBJECTS) $(VBLIBS)
40
$(CXX) -o resample $(RESAMPLEOBJECTS) $(LIBS)
42
vbtransform: $(VBTRANSFORMOBJECTS) $(VBLIBS)
43
$(CXX) -o vbtransform $(VBTRANSFORMOBJECTS) $(LIBS)
47
resample.o: resample.cpp $(VBLIBS)
48
$(CXX) $(CXXFLAGS) -c -o resample.o resample.cpp
50
vbtransform.o: vbtransform.cpp $(VBLIBS)
51
$(CXX) $(CXXFLAGS) -c -o vbtransform.o vbtransform.cpp