mirror of
https://github.com/0intro/wmii
synced 2024-11-22 05:42:05 +03:00
Gmake.
This commit is contained in:
parent
d15fb0ab06
commit
9db3ef8f54
@ -14,7 +14,7 @@ TARG = wihack \
|
||||
|
||||
OFILES = util.o
|
||||
|
||||
LDFLAGS += $(LIBS9)
|
||||
LIBS += $(LIBS9)
|
||||
CFLAGS += $(INCX11)
|
||||
|
||||
include $(ROOT)/mk/many.mk
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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
3
debian/rules
vendored
@ -18,6 +18,3 @@ override_dh_auto_install:
|
||||
|
||||
install -D img/icon.png debian/wmii/usr/share/icons/wmii.png
|
||||
|
||||
unexport CFLAGS
|
||||
unexport LDFLAGS
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user