mirror of
git://git.suckless.org/dwm
synced 2024-12-18 21:24:50 +00:00
29 lines
543 B
Makefile
29 lines
543 B
Makefile
# Customize to fit your system
|
|
|
|
# paths
|
|
PREFIX = /usr/local
|
|
CONFPREFIX = ${PREFIX}/etc
|
|
MANPREFIX = ${PREFIX}/share/man
|
|
|
|
X11INC = /usr/X11R6/include
|
|
X11LIB = /usr/X11R6/lib
|
|
|
|
VERSION = 0.0
|
|
|
|
# includes and libs
|
|
LIBS = -L${PREFIX}/lib -L/usr/lib -lc -lm -L${X11LIB} -lX11
|
|
|
|
# Linux/BSD
|
|
CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
|
|
-DVERSION=\"${VERSION}\"
|
|
LDFLAGS = -g ${LIBS}
|
|
|
|
|
|
# Solaris
|
|
#CFLAGS = -fast -xtarget=ultra ${INCLUDES} -DVERSION=\"${VERSION}\"
|
|
#LIBS += -lnsl -lsocket
|
|
|
|
AR = ar cr
|
|
CC = cc
|
|
RANLIB = ranlib
|