diff options
| author | ProsperousPotato <114923153+ProsperousPotato@users.noreply.github.com> | 2025-07-26 18:38:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-26 18:38:35 +0100 |
| commit | 84c2882c05455429f8dab4ec5ee1651f1d858972 (patch) | |
| tree | dfc4c0db9dbf72bd37c1b47e4ecf62bc1b35eb05 | |
| parent | d1ed1224e607f19f2a466014890001878e3125eb (diff) | |
Update Makefile
| -rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -10,10 +10,20 @@ CFLAGS += -Wold-style-definition CFLAGS += -Wpedantic CFLAGS += -Wshadow +# OpenBSD +X11INC = /usr/X11R6/include +X11LIB = /usr/X11R6/lib +FREETYPEINC = ${X11INC}/freetype2 + +CFLAGS += -I${X11INC} -I${FREETYPEINC} +CFLAGS += -L${X11LIB} +CFLAGS += -lX11 -lXfixes -lXi +# + all: xhidecursor xhidecursor: main.c Makefile - $(CC) $(CFLAGS) -o $@ $< -lX11 -lXfixes -lXi + $(CC) $(CFLAGS) -o $@ main.c install: all install -D xhidecursor $(DESTDIR)$(PREFIX)/xhidecursor |
