--- Makefile.orig Thu Apr 6 17:23:27 2000 +++ Makefile Wed Oct 10 16:59:49 2001 @@ -1,7 +1,12 @@ +PREFIX = /usr/local +CXXFLAGS += -I${PREFIX}/include +LDFLAGS += -L${PREFIX}/lib + all: id3v2 -id3v2: Makefile convert.cpp list.cpp id3v2.cpp convert.cpp - g++ -lid3 -g -o id3v2 id3v2.cpp list.cpp convert.cpp +id3v2: convert.o list.o id3v2.o + g++ ${LDFLAGS} -lid3 -lz -lgnugetopt -o $@ convert.o list.o id3v2.o install: all - cp id3v2 /usr/local/bin/ + install -c -s id3v2 ${PREFIX}/bin/id3v2 + nroff -man id3v2.1 > ${PREFIX}/man/man1/id3v2.1