💾 Archived View for gemini.rmf-dev.com › repo › Vaati › fdwm › files › 3185884c41ccec4c53b259bf857ca… captured on 2023-03-20 at 18:33:02. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
0 # fdwm version
1 VERSION = 0.2
2
3 # Customize below to fit your system
4
5 # paths
6 PREFIX = /usr/local
7 MANPREFIX = ${PREFIX}/share/man
8
9 X11INC = /usr/X11R6/include
10 X11LIB = /usr/X11R6/lib
11
12 # Xinerama, comment if you don't want it
13 XINERAMALIBS = -lXinerama
14 XINERAMAFLAGS = -DXINERAMA
15
16 # freetype
17 FREETYPELIBS = -lfontconfig -lXft
18 FREETYPEINC = /usr/include/freetype2
19 # OpenBSD (uncomment)
20 #FREETYPEINC = ${X11INC}/freetype2
21 #MANPREFIX = ${PREFIX}/man
22
23 # includes and libs
24 INCS = -I${X11INC} -I${FREETYPEINC}
25 LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} -lpthread
26
27 # flags
28 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
29 #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
30 CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
31 LDFLAGS = ${LIBS}
32
33 # Solaris
34 #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
35 #LDFLAGS = ${LIBS}
36
37 # compiler and linker
38 CC = cc
39