aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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