From 3e70318e36ac0997697448e6aca2cdc9154e8c5e Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sun, 21 May 2023 12:02:53 -0400 Subject: [PATCH] add fast output to C. --- C/samples/makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/C/samples/makefile b/C/samples/makefile index 35e2d504..f6e9010e 100644 --- a/C/samples/makefile +++ b/C/samples/makefile @@ -21,7 +21,7 @@ LIBS=`pkg-config --libs ${DEPS}` DEBUG= #'-g' STANDARD=-std=c99 WARNINGS=-Wall - +FAST=-Ofast ## Formatter STYLE_BLUEPRINT=webkit FORMATTER=clang-format -i -style=$(STYLE_BLUEPRINT) @@ -30,6 +30,9 @@ FORMATTER=clang-format -i -style=$(STYLE_BLUEPRINT) build: $(SRC) $(CC) $(DEBUG) $(INCS) $(PLUGS) $(SRC) -o samples $(LIBS) +fast: $(SRC) + $(CC) $(FAST) $(DEBUG) $(INCS) $(PLUGS) $(SRC) -o samples $(LIBS) + format: $(SRC) $(FORMATTER) $(SRC)