On 2016-07-05 21:30, Anton Aylward wrote:
On 07/05/2016 11:47 AM, Dutch Ingraham wrote:
dutch@linux-uoyk:~/bin/dwm-6.1> make CFLAGS+=-I/usr/include/freetype2 and
dutch@linux-uoyk:~/bin/dwm-6.1> make CFLAGS=-I/usr/include/freetype2
Personally I think that you have confused what goes in the makefile and what goes on the command line.
Personally I think that "+=" syntax should be in the makefile and that the correct syntax for a command line would be something more like
CFLAGS=/usr/include/freetype2 make
but I may be wrong. It depends what else is in the makefile.
Right. It does. :-) I have downloaded the project (it is small). See "http://dwm.suckless.org/". There is no configure script. But there is a "config.mk" file. It contains: # freetype FREETYPELIBS = -lfontconfig -lXft FREETYPEINC = /usr/include/freetype2 # OpenBSD (uncomment) FREETYPEINC = ${X11INC}/freetype2 The BSD variables have to be commented out. Doing that, it builds instantly: cer@Telcontar:~/Compilaciones/test/dwm-6.1> make dwm build options: CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION="6.1" -DXINERAMA LDFLAGS = -s -L/usr/X11R6/lib -lX11 -lXinerama -lfontconfig -lXft CC = cc CC drw.c CC dwm.c CC util.c CC -o dwm cer@Telcontar:~/Compilaciones/test/dwm-6.1> -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)