fix: linux issues (of course)
This commit is contained in:
parent
7a98dfa825
commit
7725949c22
3
Makefile
3
Makefile
@ -1,6 +1,6 @@
|
|||||||
export MAKEFLAGS += --silent -r -j
|
export MAKEFLAGS += --silent -r -j
|
||||||
export flags=-std=c++17 -Wall -Wno-main -Wno-trigraphs -Wno-missing-braces -Wno-stringop-overflow -DPROFILE_$(profile) -fdiagnostics-color=always
|
export flags=-std=c++17 -Wall -Wno-main -Wno-trigraphs -Wno-missing-braces -Wno-stringop-overflow -DPROFILE_$(profile) -fdiagnostics-color=always
|
||||||
export ldflags=-L$(bin)/$(profile)
|
export ldflags=-L$(bin)/$(profile) -Wl,-rpath=bin/$(profile)
|
||||||
export lib=ppc$(version-major)-
|
export lib=ppc$(version-major)-
|
||||||
export profile=release
|
export profile=release
|
||||||
|
|
||||||
@ -28,7 +28,6 @@ ifeq ($(profile),release)
|
|||||||
flags += -O3
|
flags += -O3
|
||||||
else ifeq ($(profile),debug)
|
else ifeq ($(profile),debug)
|
||||||
flags += -g
|
flags += -g
|
||||||
ldflags+= -Wl,-rpath=bin/debug
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
oldbin := $(bin)
|
oldbin := $(bin)
|
||||||
|
Loading…
Reference in New Issue
Block a user