mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Do not pass linker flags during compilation.
This commit is contained in:
parent
254e87cbac
commit
d80ad500ee
@ -1,10 +1,11 @@
|
|||||||
OPTFLAGS := -g3 -fmerge-constants
|
OPTFLAGS := -g3 -fmerge-constants
|
||||||
TRACYFLAGS :=
|
TRACYFLAGS :=
|
||||||
CFLAGS := $(OPTFLAGS) -Wall -DTRACY_ENABLE $(TRACYFLAGS) -rdynamic
|
CFLAGS := $(OPTFLAGS) -Wall -DTRACY_ENABLE $(TRACYFLAGS)
|
||||||
CXXFLAGS := $(CFLAGS) -std=gnu++11
|
CXXFLAGS := $(CFLAGS) -std=gnu++11
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
INCLUDES :=
|
INCLUDES :=
|
||||||
LIBS := -lpthread -ldl
|
LIBS := -lpthread -ldl
|
||||||
|
LDFLAGS := -rdynamic
|
||||||
IMAGE := tracy_test
|
IMAGE := tracy_test
|
||||||
|
|
||||||
SRC := \
|
SRC := \
|
||||||
@ -30,7 +31,7 @@ all: $(IMAGE)
|
|||||||
rm -f $@.$$$$
|
rm -f $@.$$$$
|
||||||
|
|
||||||
$(IMAGE): $(OBJ)
|
$(IMAGE): $(OBJ)
|
||||||
$(CXX) $(CXXFLAGS) $(DEFINES) $(OBJ) $(LIBS) -o $@
|
$(CXX) $(CXXFLAGS) $(DEFINES) $(OBJ) $(LIBS) $(LDFLAGS) -o $@
|
||||||
|
|
||||||
ifneq "$(MAKECMDGOALS)" "clean"
|
ifneq "$(MAKECMDGOALS)" "clean"
|
||||||
-include $(SRC:.cpp=.d)
|
-include $(SRC:.cpp=.d)
|
||||||
|
Loading…
Reference in New Issue
Block a user