common.mk: Move -lm to i3_LIBS
This commit is contained in:
parent
60bc6b0400
commit
5cf3751482
|
@ -77,7 +77,6 @@ CFLAGS += $(call cflags_for_lib, xcb-randr)
|
||||||
CFLAGS += $(call cflags_for_lib, xcb)
|
CFLAGS += $(call cflags_for_lib, xcb)
|
||||||
CFLAGS += $(call cflags_for_lib, x11)
|
CFLAGS += $(call cflags_for_lib, x11)
|
||||||
|
|
||||||
LIBS += -lm
|
|
||||||
LIBS += -L $(TOPDIR) -li3
|
LIBS += -L $(TOPDIR) -li3
|
||||||
LIBS += $(call ldflags_for_lib, xcb-event,xcb-event)
|
LIBS += $(call ldflags_for_lib, xcb-event,xcb-event)
|
||||||
LIBS += $(call ldflags_for_lib, xcb-keysyms,xcb-keysyms)
|
LIBS += $(call ldflags_for_lib, xcb-keysyms,xcb-keysyms)
|
||||||
|
|
|
@ -7,7 +7,7 @@ i3_SOURCES := $(filter-out $(i3_SOURCES_GENERATED),$(wildcard src/*.c)
|
||||||
i3_HEADERS_CMDPARSER := $(wildcard include/GENERATED_*.h)
|
i3_HEADERS_CMDPARSER := $(wildcard include/GENERATED_*.h)
|
||||||
i3_HEADERS := $(filter-out $(i3_HEADERS_CMDPARSER),$(wildcard include/*.h))
|
i3_HEADERS := $(filter-out $(i3_HEADERS_CMDPARSER),$(wildcard include/*.h))
|
||||||
i3_CFLAGS = $(XCURSOR_CFLAGS) $(YAJL_CFLAGS) $(LIBEV_CFLAGS) $(PCRE_CFLAGS) $(LIBSN_CFLAGS)
|
i3_CFLAGS = $(XCURSOR_CFLAGS) $(YAJL_CFLAGS) $(LIBEV_CFLAGS) $(PCRE_CFLAGS) $(LIBSN_CFLAGS)
|
||||||
i3_LIBS = $(XCURSOR_LIBS) $(YAJL_LIBS) $(LIBEV_LIBS) $(PCRE_LIBS) $(LIBSN_LIBS)
|
i3_LIBS = $(XCURSOR_LIBS) $(YAJL_LIBS) $(LIBEV_LIBS) $(PCRE_LIBS) $(LIBSN_LIBS) -lm
|
||||||
|
|
||||||
i3_OBJECTS := $(i3_SOURCES_GENERATED:.c=.o) $(i3_SOURCES:.c=.o)
|
i3_OBJECTS := $(i3_SOURCES_GENERATED:.c=.o) $(i3_SOURCES:.c=.o)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue