]> mj.ucw.cz Git - vcut.git/blob - Makefile
762dc6498db012c38d1bddcd5d63c4e660564bd7
[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 # just testing...
7
8 all: vorbiscut
9
10 oggtest: LDFLAGS+=-logg
11 vorbistest: LDFLAGS+=-lvorbisfile -logg -lvorbis
12 #vorbiscut: LDFLAGS+=-L/opt/lib -static -lvorbisfile -dynamic -logg -lvorbis -lasound -lsndfile
13 vorbiscut: vorbiscut.o /tmp/libvorbis-1.0rc3/lib/.libs/libvorbisfile.a /tmp/libvorbis-1.0rc3/lib/.libs/libvorbis.a
14 vorbiscut: LDFLAGS+=-L/opt/lib -logg -lasound -lsndfile
15 vorbiscut.o: CFLAGS+=-I/opt/include
16
17 clean:
18         rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*`
19         rm -f oggtest vorbistest vorbiscut