Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix symlinks in Linux Makefile.
[spectrwm.git]
/
osx
/
Makefile
diff --git
a/osx/Makefile
b/osx/Makefile
index
ab9865f
..
bccfd98
100644
(file)
--- a/
osx/Makefile
+++ b/
osx/Makefile
@@
-1,6
+1,8
@@
-CFLAGS+= -O2 -Wall -g -D_GNU_SOURCE -D__OSX__ -I. -I..
+INCFLAGS+= -I/opt/local/include/freetype2 -I/opt/local/include
+CFLAGS+= -O2 -Wall -g -D_GNU_SOURCE -D__OSX__ -I. -I.. ${INCFLAGS}
CFLAGS+= -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\"
CFLAGS+= -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\"
-LDADD+= -L/usr/X11/lib/ -lX11 -lXrandr -lXtst
+LDADD+= -L/opt/local/lib -lX11 -lXcursor -lXft
+LDADD+= -lxcb-keysyms -lxcb-util -lxcb-randr -lX11-xcb -lxcb-xtest -lxcb -lxcb-icccm
PREFIX?= /usr/local
BINDIR?= $(PREFIX)/bin
PREFIX?= /usr/local
BINDIR?= $(PREFIX)/bin
@@
-14,7
+16,9
@@
LVERS= $(shell . ../lib/shlib_version; echo $$major.$$minor)
all: spectrwm libswmhack.so.$(LVERS)
spectrwm.c:
all: spectrwm libswmhack.so.$(LVERS)
spectrwm.c:
+ ln -sf ../linux/tree.h
ln -sf ../spectrwm.c
ln -sf ../spectrwm.c
+ ln -sf ../version.h
swm_hack.c:
ln -sf ../lib/swm_hack.c
swm_hack.c:
ln -sf ../lib/swm_hack.c
@@
-44,6
+48,6
@@
install: all
ln -sf $(DESTDIR)$(BINDIR)/spectrwm $(DESTDIR)$(BINDIR)/scrotwm
clean:
ln -sf $(DESTDIR)$(BINDIR)/spectrwm $(DESTDIR)$(BINDIR)/scrotwm
clean:
- rm -f spectrwm *.o *.so libswmhack.so.* spectrwm.c swm_hack.c
+ rm -f spectrwm *.o *.so libswmhack.so.* spectrwm.c swm_hack.c tree.h version.h
.PHONY: all install clean
.PHONY: all install clean