This commit is contained in:
Kris Maglione 2009-10-26 15:27:43 -04:00
parent d15fb0ab06
commit 9db3ef8f54
8 changed files with 8 additions and 11 deletions

View File

@ -14,7 +14,7 @@ TARG = wihack \
OFILES = util.o
LDFLAGS += $(LIBS9)
LIBS += $(LIBS9)
CFLAGS += $(INCX11)
include $(ROOT)/mk/many.mk

View File

@ -10,7 +10,7 @@ HFILES= dat.h fns.h
PACKAGES += $(X11PACKAGES) xext xrandr xrender xinerama
LIB = $(LIBIXP)
LDFLAGS += -lm -lXtst $(LIBS9)
LIBS += -lm -lXtst $(LIBS9)
CFLAGS += -DVERSION=\"$(VERSION)\" -DIXP_NEEDAPI=86
OBJ = main \
_util \

View File

@ -15,7 +15,7 @@ HFILES= dat.h fns.h
PACKAGES += $(X11PACKAGES) xext xrandr xrender xinerama
LIB = $(LIBIXP)
LDFLAGS += -lm $(LIBS9)
LIBS += -lm $(LIBS9)
CFLAGS += -DIXP_NEEDAPI=86
OBJ = main \
caret \

View File

@ -10,7 +10,7 @@ HFILES= dat.h fns.h
PACKAGES += $(X11PACKAGES) xext xrandr xinerama
LIB = $(LIBIXP)
LDFLAGS += -lm $(LIBS9)
LIBS += -lm $(LIBS9)
CFLAGS += -DIXP_NEEDAPI=86
OBJ = main \
event \

View File

@ -10,7 +10,7 @@ HFILES= dat.h fns.h
PACKAGES += $(X11PACKAGES) xext xrandr xrender xinerama
LIB = $(LIBIXP)
LDFLAGS += -lm $(LIBS9)
LIBS += -lm $(LIBS9)
CFLAGS += $(INCICONV) -DIXP_NEEDAPI=97
OBJ = area \

View File

@ -18,7 +18,7 @@ TERMINAL = xterm
# Flags
include $(ROOT)/mk/gcc.mk
CFLAGS += $(DEBUGCFLAGS) -O0
LDFLAGS += -g $(LIBS)
LDFLAGS += -g
SOLDFLAGS += $(LDFLAGS)
SHARED = -shared -Wl,-soname=$(SONAME)
STATIC = -static

3
debian/rules vendored
View File

@ -18,6 +18,3 @@ override_dh_auto_install:
install -D img/icon.png debian/wmii/usr/share/icons/wmii.png
unexport CFLAGS
unexport LDFLAGS

View File

@ -5,8 +5,8 @@ EXCFLAGS = $(INCLUDES) -D_XOPEN_SOURCE=600
COMPILE = $(ROOT)/util/compile "$(CC)" "$(EXCFLAGS) $(CFLAGS) $$(pkg-config --cflags $(PACKAGES))"
COMPILEPIC = $(ROOT)/util/compile "$(CC)" "$(EXCFLAGS) $(CFLAGS) $$(pkg-config --cflags $(PACKAGES)) $(SOCFLAGS)"
LINK = $(ROOT)/util/link "$(LD)" "$$(pkg-config --libs $(PACKAGES)) $(LDFLAGS)"
LINKSO = $(ROOT)/util/link "$(LD)" "$$(pkg-config --libs $(PACKAGES)) $(SOLDFLAGS) $(SHARED)"
LINK = $(ROOT)/util/link "$(LD)" "$$(pkg-config --libs $(PACKAGES)) $(LDFLAGS) $(LIBS)"
LINKSO = $(ROOT)/util/link "$(LD)" "$$(pkg-config --libs $(PACKAGES)) $(SOLDFLAGS) $(LIBS) $(SHARED)"
CLEANNAME=$(ROOT)/util/cleanname