17 lines
389 B
Makefile
17 lines
389 B
Makefile
|
# bucket version
|
||
|
VERSION = 1.0.0
|
||
|
|
||
|
# btk
|
||
|
BTK = btk
|
||
|
BTKFILES = ${BTK}/btk.c ${BTK}/btk-window.c ${BTK}/btk-cell.c ${BTK}/btk-text.c ${BTK}/btk-utils.c ${BTK}/btk-log.c
|
||
|
|
||
|
# external libraries
|
||
|
LIBS = -lxcb -lcairo -pthread
|
||
|
|
||
|
# flags
|
||
|
CPPFLAGS = -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\"
|
||
|
CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os
|
||
|
|
||
|
# compiler and linker
|
||
|
CC = cc
|