summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-21 13:38:42 -0600
committerzachir <zachir@librem.one>2023-02-21 13:38:42 -0600
commit3e780ab7e8f5a6358c89813e2d2e430b90fe8a66 (patch)
tree7545c304a2416ad06dada49d0011c742529eaee0 /config.mk
parentd37bbc0c900aa6e42e9f2dac7500c468083bb69b (diff)
reset to vanilla dmenu-5.2
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/config.mk b/config.mk
index 56427e7..566348b 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
# dmenu version
-VERSION = 5.1
+VERSION = 5.2
# paths
PREFIX = /usr/local
@@ -17,14 +17,15 @@ FREETYPELIBS = -lfontconfig -lXft
FREETYPEINC = /usr/include/freetype2
# OpenBSD (uncomment)
#FREETYPEINC = $(X11INC)/freetype2
+#MANPREFIX = ${PREFIX}/man
# includes and libs
INCS = -I$(X11INC) -I$(FREETYPEINC)
-LIBS = -L$(X11LIB) -lX11 $(XINERAMALIBS) $(FREETYPELIBS) -lm
+LIBS = -L$(X11LIB) -lX11 $(XINERAMALIBS) $(FREETYPELIBS)
# flags
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMAFLAGS)
-CFLAGS = -std=c99 -pedantic -Wall -O3 -march=native $(INCS) $(CPPFLAGS)
+CFLAGS = -std=c99 -pedantic -Wall -Os $(INCS) $(CPPFLAGS)
LDFLAGS = $(LIBS)
# compiler and linker