JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
removed pty.h. minimal system guessing added in config.mk.
[st.git] / config.mk
1 # st version
2 VERSION = 0.0
3
4 # Customize below to fit your system
5
6 # paths
7 PREFIX = /usr/local
8 MANPREFIX = ${PREFIX}/share/man
9
10 X11INC = /usr/X11R6/include
11 X11LIB = /usr/X11R6/lib
12
13 # includes and libs
14 INCS = -I. -I/usr/include -I${X11INC}
15 LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil
16
17 # uncomment manualy your system if compilation fail
18 SYSTEM = -D`uname | tr a-z A-Z`
19 #SYSTEM = -DLINUX
20 #SYSTEM = -DOPENBSD
21 #SYSTEM = -DFREEBSD
22
23 # flags
24 CPPFLAGS = -DVERSION=\"${VERSION}\" ${SYSTEM}
25 CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
26 LDFLAGS = -s ${LIBS}
27
28 # compiler and linker
29 CC = cc