1# This file is part of Vamps. 2# 3# Vamps is free software; you can redistribute it and/or modify 4# it under the terms of the GNU General Public License as published by 5# the Free Software Foundation; either version 2 of the License, or 6# (at your option) any later version. 7# 8# Vamps is distributed in the hope that it will be useful, 9# but WITHOUT ANY WARRANTY; without even the implied warranty of 10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11# GNU General Public License for more details. 12# 13# You should have received a copy of the GNU General Public License 14# along with Vamps; if not, write to the Free Software 15# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 16 17 18PREFIX ?= /usr/local 19 20CFLAGS += -DHAVE_BUILTIN_EXPECT 21CFLAGS += -Wall 22LDFLAGS += -s 23#LDFLAGS += -static 24LOADLIBES += -lm -lpthread 25 26INSTALL ?= install 27 28 29all: vamps 30 31vamps: vamps.o requant.o 32 33requant.o: requant.h putvlc.h getvlc.h qTable.h 34 35install: all 36 $(INSTALL) -d $(PREFIX)/bin 37 $(INSTALL) -m 755 vamps $(PREFIX)/bin 38 39uninstall: 40 rm -f $(PREFIX)/bin/vamps 41 42clean: 43 rm -f vamps vamps.o requant.o *~ core 44