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