19 lines
297 B
Makefile
19 lines
297 B
Makefile
# stt version
|
|
VERSION = 0.1
|
|
|
|
# Customize below to fit your system
|
|
|
|
# paths
|
|
PREFIX = /usr/local
|
|
|
|
# includes and libs
|
|
INCS =
|
|
LIBS = -lm
|
|
|
|
# flags
|
|
CPPFLAGS = -DVERSION=\"${VERSION}\"
|
|
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
|
LDFLAGS = -static -s ${LIBS}
|
|
|
|
# compiler and linker
|
|
CC = cc
|