2013-08-02 23:23:04 +02:00
|
|
|
# slow version
|
2013-08-08 21:22:15 +02:00
|
|
|
VERSION = 1.0
|
2013-08-02 23:23:04 +02:00
|
|
|
|
|
|
|
|
# Customize below to fit your system
|
|
|
|
|
|
|
|
|
|
# paths
|
|
|
|
|
PREFIX = /usr/local
|
|
|
|
|
|
|
|
|
|
# includes and libs
|
|
|
|
|
INCS =
|
|
|
|
|
LIBS =
|
|
|
|
|
|
|
|
|
|
# flags
|
2015-04-01 22:50:39 +02:00
|
|
|
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=500
|
2013-08-02 23:23:04 +02:00
|
|
|
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
2015-04-01 22:52:22 +02:00
|
|
|
LDFLAGS = -static -s ${LIBS}
|
2013-08-02 23:23:04 +02:00
|
|
|
|
|
|
|
|
# compiler and linker
|
|
|
|
|
CC = cc
|