# customize below to fit your system
DPL_PKG_CONFIG	= /usr/local/lib/pkgconfig/

# compiler and flags
CC		= gcc
CFLAGS		= -Wall -Wextra -Werror -g
LDFLAGS		=
MAKEFLAGS	= --silent

# required flags
CFLAGS		+= -I. -std=c99 -D_BSD_SOURCE

# openssl
CFLAGS		+= `pkg-config --cflags openssl`
LDFLAGS		+= `pkg-config --libs openssl`

# libdroplets
CFLAGS		+= `PKG_CONFIG_PATH=$(DPL_PKG_CONFIG) pkg-config --cflags droplet-1.0`
LDFLAGS		+= `PKG_CONFIG_PATH=$(DPL_PKG_CONFIG) pkg-config --libs droplet-1.0`

# customize below to fit your system
DPL_PKG_CONFIG	= /usr/local/lib/pkgconfig/

# compiler and flags
CC		= gcc
CFLAGS		= -Wall -Wextra -Werror -g
LDFLAGS		=
MAKEFLAGS	= --silent

# required flags
CFLAGS		+= -I. -std=c99 -D_BSD_SOURCE -D_FILE_OFFSET_BITS=64

# openssl
CFLAGS		+= `pkg-config --cflags openssl`
LDFLAGS		+= `pkg-config --libs openssl`

# libdroplets
CFLAGS		+= `PKG_CONFIG_PATH=$(DPL_PKG_CONFIG) pkg-config --cflags droplet-1.0`
LDFLAGS		+= `PKG_CONFIG_PATH=$(DPL_PKG_CONFIG) pkg-config --libs droplet-1.0`

Change a compilation flag to fix a large file bug.
Change a compilation flag to fix a large file bug.

When a file's size can't be stored on 32 bits, stat() does not work as
expected. Defining _FILE_OFFSET_BITS to 64 uses stat64, so everything is
ok.
