tweaks; use gnu11 now
This commit is contained in:
parent
3072985b0a
commit
e943a99966
2 changed files with 4 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -35,7 +35,7 @@ VST_OBJ = ${VST_CPP:%.cpp=$(BIN)/%.o}
|
|||
VST_DEF = $(VST_SDK_DIR)/public.sdk/samples/vst2.x/win/vstplug.def
|
||||
|
||||
GENERAL_FLAGS = -Wall -Wno-unused-function -I include
|
||||
ALL_CFLAGS = $(GENERAL_FLAGS) -std=gnu99 $(CFLAGS)
|
||||
ALL_CFLAGS = $(GENERAL_FLAGS) -std=gnu11 $(CFLAGS)
|
||||
ALL_CXXFLAGS = $(GENERAL_FLAGS) $(CXXFLAGS)
|
||||
ALL_LDFLAGS = -lm $(LDFLAGS)
|
||||
|
||||
|
@ -43,6 +43,8 @@ LADSPA_FLAGS =
|
|||
VST_FLAGS = -Wno-write-strings -Wno-narrowing
|
||||
VST_FLAGS += -I $(VST_SDK_DIR) -DBUILDING_DLL=1
|
||||
|
||||
# specifying core2 as the target architecture
|
||||
# seems significantly faster, even on newer processors. ymmv.
|
||||
OPT_FLAGS = -Ofast -march=core2 -mfpmath=sse
|
||||
|
||||
# any possibly produced files besides intermediates
|
||||
|
|
|
@ -13,4 +13,4 @@ for i in {1..8}; do
|
|||
time "$bench" "$against"
|
||||
done 2>&1 >/dev/null | awk 'BEGIN{m=999;printf " …\033[90m"}
|
||||
{a+=$1;n++;m=$1<m?$1:m;printf " %6.3f",$1}
|
||||
END{printf "\033[0m\nmin %6.3f — avg %6.3f — total %7.3f\n",m,a/n,a}'
|
||||
END{printf "\033[0m\nmin %6.3f — avg %6.3f — sum %7.3f\n",m,a/n,a}'
|
||||
|
|
Loading…
Add table
Reference in a new issue