Add -h option to print usage text
[qi-bootmenu.git] / config.mk
blobe170f91565e701ca11bba0bc8c727a9052f240e8
1 VERSION = 0.1
3 # Customize below to fit your system
5 PREFIX = /usr/local
6 DATADIR = ${PREFIX}/share/qi-bootmenu
8 # used by 'make static'
10 LDFLAGS_STATIC = -static
11 PKG_CONFIG_STATIC_FLAGS = --static
13 INCS = $(shell pkg-config ${PKG_CONFIG_FLAGS} --cflags eina-0 evas ecore ecore-evas)
15 # add -leina explicitly because it seems like it has to come before -lm in order for
16 # static linking to work and pkg-config adds it the other way round
18 LIBS = -lc -leina $(shell pkg-config ${PKG_CONFIG_FLAGS} --libs eina-0 evas ecore ecore-evas)
20 # XXX: -std=c99
22 CFLAGS += -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG
24 DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb -Wall
26 ifeq ($(CC),)
27 CC = cc
28 endif