CC=gcc-3.4 LD=gcc-3.4 #CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99 CFLAGS=-O0 -g -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 -static -lvorbisfile -dynamic -logg -lvorbis -lasound -lsndfile vorbiscut: vorbiscut.o vorbiscut: LDFLAGS+=-L/opt/lib -logg -lasound -lsndfile -lvorbisfile -lvorbis 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