mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-27 23:43:54 +01:00
defs.mk: Push -lytools to back
This commit is contained in:
parent
f71bd0281d
commit
60f70015f3
1 changed files with 6 additions and 2 deletions
|
|
@ -341,7 +341,10 @@ endif
|
||||||
ifeq ($(USE_YTOOLS),true)
|
ifeq ($(USE_YTOOLS),true)
|
||||||
CFLAGS += -I$(MODDIR)/include
|
CFLAGS += -I$(MODDIR)/include
|
||||||
CPPFLAGS += -I$(MODDIR)/include
|
CPPFLAGS += -I$(MODDIR)/include
|
||||||
PROJECTLIB_LDFLAGS += -lytools -L$(MODDIR)/lib
|
YTOOLS_LDFLAGS += -lytools -L$(MODDIR)/lib
|
||||||
|
ifeq ($(TARGET),mingw)
|
||||||
|
YTOOLS_LDFLAGS += -lglib-2.0 -lws2_32 -lstdc++
|
||||||
|
endif
|
||||||
LD_LIB_PATH += $(MODDIR)/lib
|
LD_LIB_PATH += $(MODDIR)/lib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
@ -350,7 +353,8 @@ ifeq ($(USE_TIMER),true)
|
||||||
CPPFLAGS += -D_USE_TIMER_
|
CPPFLAGS += -D_USE_TIMER_
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LDFLAGS += -L$(LIBDIR) $(LOCAL_LDFLAGS) $(PROJECTLIB_LDFLAGS) $(PROJECT_LDFLAGS) $(LPPFLAGS)
|
LDFLAGS += -L$(LIBDIR) $(LOCAL_LDFLAGS) $(PROJECTLIB_LDFLAGS) $(PROJECT_LDFLAGS) $(LPPFLAGS) $(YTOOLS_LDFLAGS)
|
||||||
|
|
||||||
ifeq ($(USE_PROFILER),true)
|
ifeq ($(USE_PROFILER),true)
|
||||||
CFLAGS += -fprofile-arcs -ftest-coverage
|
CFLAGS += -fprofile-arcs -ftest-coverage
|
||||||
CPPFLAGS += -fprofile-arcs -ftest-coverage
|
CPPFLAGS += -fprofile-arcs -ftest-coverage
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue