update readme

progress v2.1.0
Avril 4 years ago
parent a89f6ed47e
commit e6da741a3b
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -39,6 +39,8 @@ OBJ_C = $(addprefix obj/c/,$(SRC_C:.c=.o))
OBJ_CXX = $(addprefix obj/cxx/,$(SRC_CXX:.cpp=.o)) OBJ_CXX = $(addprefix obj/cxx/,$(SRC_CXX:.cpp=.o))
OBJ = $(OBJ_C) $(OBJ_CXX) OBJ = $(OBJ_C) $(OBJ_CXX)
# PGO stuff
PGO_OBJ_C = $(addprefix obj/pgo/c/,$(SRC_C:.c=.o)) PGO_OBJ_C = $(addprefix obj/pgo/c/,$(SRC_C:.c=.o))
PGO_OBJ_CXX = $(addprefix obj/pgo/cxx/,$(SRC_CXX:.cpp=.o)) PGO_OBJ_CXX = $(addprefix obj/pgo/cxx/,$(SRC_CXX:.cpp=.o))
PGO_OBJ = $(PGO_OBJ_C) $(PGO_OBJ_CXX) PGO_OBJ = $(PGO_OBJ_C) $(PGO_OBJ_CXX)

@ -71,6 +71,9 @@ To build with debug information, run `make debug`. Extra debug flags can be prov
The build and unstripped binary will be `shuffle3-debug`. The build and unstripped binary will be `shuffle3-debug`.
## PGO target
To build with Profile Guided Optimisation run `make pgo`, the stripped and optimised binary will be output to `shuffle3-pgo`.
## Notes ## Notes
Before switching between `release` and `debug` targets, remember to run `make clean`. Before switching between `release` and `debug` targets, remember to run `make clean`.
To disable stripping of release build binaries, run with `make STRIP=: release` To disable stripping of release build binaries, run with `make STRIP=: release`

Loading…
Cancel
Save