mirror of
https://github.com/0intro/wmii
synced 2024-11-22 13:52:17 +03:00
29 lines
598 B
Makefile
29 lines
598 B
Makefile
# Customize to fit your system
|
|
|
|
# paths
|
|
PREFIX = /usr/local
|
|
CONFPREFIX = ${PREFIX}/etc
|
|
MANPREFIX = ${PREFIX}/share/man
|
|
9PREFIX = ${PREFIX}/9
|
|
|
|
INCDIR = ${PREFIX}/include
|
|
LIBDIR = ${PREFIX}/lib
|
|
X11INC = /usr/X11R6/include
|
|
X11LIB = /usr/X11R6/lib
|
|
|
|
# includes and libs
|
|
INCLUDES = -I. -I${INCDIR} -I/usr/include -I${X11INC}
|
|
LIBS = -L${LIBDIR} -L/usr/lib -lc -lm -L${X11LIB} -lX11
|
|
VERSION = 3-current
|
|
|
|
# flags
|
|
CFLAGS = -O0 -g -Wall ${INCLUDES} -DVERSION=\"${VERSION}\"
|
|
LDFLAGS = -g ${LIBS}
|
|
|
|
# compiler
|
|
# Note: - under Solaris add -D__EXTENSIONS__ to CFLAGS
|
|
MAKE = make
|
|
AR = ar cr
|
|
CC = cc
|
|
RANLIB = ranlib
|