commit 3e70318e36ac0997697448e6aca2cdc9154e8c5e
parent e9ab8273204a70fb2e7a99a46c46f98296483ace
Author: NunoSempere <nuno.sempere@protonmail.com>
Date: Sun, 21 May 2023 12:02:53 -0400
add fast output to C.
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git 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)