Makefile: use LDLIBS
This commit is contained in:
parent
e4c2900c4f
commit
ba92b480fd
4
Makefile
4
Makefile
|
@ -24,10 +24,10 @@ ifeq (${CXX}, g++)
|
||||||
CXXFLAGS += -Wno-missing-field-initializers
|
CXXFLAGS += -Wno-missing-field-initializers
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LDFLAGS := -s -Wl,--as-needed ${shell pkg-config --libs ${GTK} ${VTE}} ${LDFLAGS}
|
LDFLAGS := -s -Wl,--as-needed ${LDFLAGS}
|
||||||
|
LDLIBS := ${shell pkg-config --libs ${GTK} ${VTE}}
|
||||||
|
|
||||||
termite: termite.cc
|
termite: termite.cc
|
||||||
${CXX} ${CXXFLAGS} -o $@ $< ${LDFLAGS}
|
|
||||||
|
|
||||||
install: termite
|
install: termite
|
||||||
mkdir -p ${DESTDIR}${TERMINFO}
|
mkdir -p ${DESTDIR}${TERMINFO}
|
||||||
|
|
Loading…
Reference in New Issue