add fast output to C.
This commit is contained in:
parent
e9ab827320
commit
3e70318e36
|
@ -21,7 +21,7 @@ LIBS=`pkg-config --libs ${DEPS}`
|
||||||
DEBUG= #'-g'
|
DEBUG= #'-g'
|
||||||
STANDARD=-std=c99
|
STANDARD=-std=c99
|
||||||
WARNINGS=-Wall
|
WARNINGS=-Wall
|
||||||
|
FAST=-Ofast
|
||||||
## Formatter
|
## Formatter
|
||||||
STYLE_BLUEPRINT=webkit
|
STYLE_BLUEPRINT=webkit
|
||||||
FORMATTER=clang-format -i -style=$(STYLE_BLUEPRINT)
|
FORMATTER=clang-format -i -style=$(STYLE_BLUEPRINT)
|
||||||
|
@ -30,6 +30,9 @@ FORMATTER=clang-format -i -style=$(STYLE_BLUEPRINT)
|
||||||
build: $(SRC)
|
build: $(SRC)
|
||||||
$(CC) $(DEBUG) $(INCS) $(PLUGS) $(SRC) -o samples $(LIBS)
|
$(CC) $(DEBUG) $(INCS) $(PLUGS) $(SRC) -o samples $(LIBS)
|
||||||
|
|
||||||
|
fast: $(SRC)
|
||||||
|
$(CC) $(FAST) $(DEBUG) $(INCS) $(PLUGS) $(SRC) -o samples $(LIBS)
|
||||||
|
|
||||||
format: $(SRC)
|
format: $(SRC)
|
||||||
$(FORMATTER) $(SRC)
|
$(FORMATTER) $(SRC)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user