aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorProsperousPotato <ProsperousPotato@users.noreply.github.com>2025-07-27 02:21:04 +0100
committerProsperousPotato <ProsperousPotato@users.noreply.github.com>2025-07-27 02:21:04 +0100
commitf19d253ca32772ba1388957b19acf646643c8405 (patch)
treea2b2ca1ac56a7e225ce56fa25eaa728e4f2319e5 /Makefile
parent391519d3bb53e981218de41a37d1f0f95aef3d17 (diff)
upgrades, people, upgrades
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d914a89..bbddd9d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,13 @@
-CFLAGS = -g -O2 -Wall -Wextra
-LDFLAGS =
+CFLAGS = -g -O3 -march=native -Wall -Wextra
+
+# OpenBSD
+X11INC = /usr/X11R6/include
+X11LIB = /usr/X11R6/lib
+
+CFLAGS += -I${X11INC}
+CFLAGS += -L${X11LIB}
+#
+
LDLIBS = -lX11 -lXext -lXrender
prefix = /usr/local
@@ -21,4 +29,4 @@ clean:
uninstall:
rm -f '$(DESTDIR)$(bindir)/xwinwrap'
-.PHONY: all install clean \ No newline at end of file
+.PHONY: all install clean