Refactor all modules
[oggquiz.git] / Makefile
blob4d6940bfd43b76b085a0fcb509f003361430d460
1 PROG= oggquiz
2 SRCS= ${PROG}.c oggfile.c player.c ui.c options.c
3 NO_MAN= yes
5 CSTD?= c89
6 WARNS?= 6
7 WFORMAT?= 1
8 # NO_WERROR is needed as libvorbis.h defines some static variables not used
9 # in this code. This leads to warnings and breaks the build if NO_WERROR is
10 # unset. But I prefer NO_WERROR to hiding the warning.
11 NO_WERROR= yes
13 CFLAGS+= -I/usr/local/include
14 LDFLAGS+= -L/usr/local/lib
15 LDADD+= -lvorbisfile
16 LDADD+= -liconv
17 LDADD+= -lcurses
19 CLEANFILES= *.[Bb][Aa][Kk] *.core
20 CTAGS= ctags
22 .include <bsd.prog.mk>