CC=gcc-4.0 LD=gcc-4.0 CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99 all: vorbiscut oggtest: LDFLAGS+=-logg vorbistest: LDFLAGS+=-lvorbisfile -logg -lvorbis vorbiscut: LDFLAGS+=-L/opt/lib -lvorbisfile -logg -lvorbis -lasound -lsndfile vorbiscut.o: CFLAGS+=-I/opt/include clean: rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*` rm -f oggtest vorbistest vorbiscut