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