X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=99fa239c876a489ec052943e42f1a86969ebd524;hb=0e0753f2e90672db4f2cc0f4a471c9ea39c9021f;hp=bd4ba4efbdad4d7fb025279aa6f815084dc62e54;hpb=f961b857eafaf6b57ab345693a847dac32dd8437;p=vcut.git diff --git a/Makefile b/Makefile index bd4ba4e..99fa239 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,15 @@ CC=gcc-4.0 LD=gcc-4.0 -CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99 +#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 -lvorbisfile -logg -lvorbis -lasound -lsndfile +#vorbiscut: LDFLAGS+=-L/opt/lib -static -lvorbisfile -dynamic -logg -lvorbis -lasound -lsndfile +vorbiscut: vorbiscut.o /tmp/libvorbis-1.0rc3/lib/.libs/libvorbisfile.a /tmp/libvorbis-1.0rc3/lib/.libs/libvorbis.a +vorbiscut: LDFLAGS+=-L/opt/lib -logg -lasound -lsndfile vorbiscut.o: CFLAGS+=-I/opt/include clean: