]> mj.ucw.cz Git - vcut.git/blob - Makefile
Bug fixes.
[vcut.git] / Makefile
1 CC=gcc-4.0
2 LD=gcc-4.0
3 #CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99
4 CFLAGS=-O0 -g -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99
5
6 all: vorbiscut
7
8 oggtest: LDFLAGS+=-logg
9 vorbistest: LDFLAGS+=-lvorbisfile -logg -lvorbis
10 #vorbiscut: LDFLAGS+=-L/opt/lib -static -lvorbisfile -dynamic -logg -lvorbis -lasound -lsndfile
11 vorbiscut: vorbiscut.o /tmp/libvorbis-1.0rc3/lib/.libs/libvorbisfile.a /tmp/libvorbis-1.0rc3/lib/.libs/libvorbis.a
12 vorbiscut: LDFLAGS+=-L/opt/lib -logg -lasound -lsndfile
13 vorbiscut.o: CFLAGS+=-I/opt/include
14
15 clean:
16         rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*`
17         rm -f oggtest vorbistest vorbiscut