2019-10-02 19:01:25 +02:00
|
|
|
# stt version
|
|
|
|
|
VERSION = 0.1
|
|
|
|
|
|
|
|
|
|
# Customize below to fit your system
|
|
|
|
|
|
|
|
|
|
# paths
|
|
|
|
|
PREFIX = /usr/local
|
|
|
|
|
|
|
|
|
|
# includes and libs
|
|
|
|
|
INCS =
|
2022-05-19 19:31:07 +02:00
|
|
|
LIBS = -lm
|
2019-10-02 19:01:25 +02:00
|
|
|
|
|
|
|
|
# flags
|
|
|
|
|
CPPFLAGS = -DVERSION=\"${VERSION}\"
|
|
|
|
|
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
|
|
|
|
LDFLAGS = -static -s ${LIBS}
|
|
|
|
|
|
|
|
|
|
# compiler and linker
|
|
|
|
|
CC = cc
|