]> mj.ucw.cz Git - vcut.git/blob - Makefile
bd4ba4efbdad4d7fb025279aa6f815084dc62e54
[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
5 all: vorbiscut
6
7 oggtest: LDFLAGS+=-logg
8 vorbistest: LDFLAGS+=-lvorbisfile -logg -lvorbis
9 vorbiscut: LDFLAGS+=-L/opt/lib -lvorbisfile -logg -lvorbis -lasound -lsndfile
10 vorbiscut.o: CFLAGS+=-I/opt/include
11
12 clean:
13         rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*`
14         rm -f oggtest vorbistest vorbiscut