We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc620f0 commit 930ffd9Copy full SHA for 930ffd9
1 file changed
makefile
@@ -37,10 +37,9 @@ export VERSION_FLAGS=-DGIT_HASH="\"$(shell git rev-parse HEAD 2> /dev/null || ec
37
-DBUILD_USER="\"$(USER)@$(HOSTNAME)\""\
38
-DBUILD_DIRECTORY="\"$(PWD)\""
39
40
-LIBS= -lX11 -lXpm
41
-LIBS+=$(shell pkg-config --cflags-only-L x11 xpm) # for macOS
+X11DIR= $(shell pkg-config --libs-only-L x11 xpm) # for macOS
42
CFLAGS= -c -std=gnu11 $(OPT) $(GPROF) $(W) $(GDB)
43
-OFLAGS= -lm $(GPROF) $(LIBS)
+OFLAGS= -lm $(GPROF) $(LIBS) -lX11 -lXpm $(X11DIR)
44
45
SRCDIR=src
46
OBJDIR=obj
0 commit comments