28 lines
625 B
Makefile
28 lines
625 B
Makefile
# posta version
|
|
VERSION = 1.0
|
|
|
|
# Customize below to fit your system
|
|
|
|
# paths
|
|
PREFIX = /usr
|
|
MANPREFIX = ${PREFIX}/share/man
|
|
|
|
# OpenBSD (uncomment)
|
|
MANPREFIX = ${PREFIX}/man
|
|
|
|
# includes and libs
|
|
INCS =
|
|
LIBS = -lssl -lcrypto
|
|
|
|
# flags
|
|
CPPFLAGS = -g -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
|
|
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
|
|
CFLAGS = -g -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
|
|
LDFLAGS = ${LIBS}
|
|
|
|
# Solaris
|
|
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
|
|
#LDFLAGS = ${LIBS}
|
|
|
|
# compiler and linker
|
|
CC = cc
|