[misc] Add error code 'GENERIC_BADNESS'
[vsc-common.git] / config.mk
1 #
2 # General config for libvsccli and libvscmisc
3 #
4 # Copyright (C) 2009 Matthias Bolte <matthias.bolte@googlemail.com>
5 #
6
7 CC       = gcc
8 PREFIX   = /usr/local
9
10 #
11 # Fancy gcc options
12 #
13
14 CFLAGS  += -fPIC
15
16 # Daumenschrauben
17 CFLAGS  += -std=gnu99 -Wall -Werror -W -Wextra -Wmissing-declarations \
18            -Wmissing-prototypes -Wcast-align -Wpointer-arith -Wreturn-type \
19            -Wformat -Wformat-security -Wnested-externs -Wsign-compare \
20            -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline
21
22 # Debugging
23 CFLAGS  += -O0 -g -ggdb
24
25 #
26 # Include optional user config
27 #
28
29 -include config-user.mk