1234567891011121314151617 |
- ARGS = -Warith-conversion -Wshift-overflow=2 -Wc++-compat -Wmissing-prototypes \
- -Wdisabled-optimization -pedantic-errors -Wcast-qual -Wjump-misses-init \
- -Wmissing-include-dirs -Wformat-signedness -Wstrict-prototypes -Wshadow \
- -Walloca -Wconversion -Wwrite-strings -Wundef -Wredundant-decls -Wextra \
- -Wbad-function-cast -Wmissing-declarations -Wunsuffixed-float-constants \
- -Wnull-dereference -pedantic -Wmultichar -Wlogical-op -Wduplicated-cond \
- -Woverlength-strings -Walloc-zero -Werror -Wsign-conversion -Wdate-time \
- -Wdouble-promotion -Winvalid-pch -Wnested-externs -Wduplicated-branches \
- -Wall -Wfloat-equal -Wformat=2 -Wcast-align=strict -Winit-self
- SRC = Formatter.c
- run: build
- ./formatter think 77 input_cpp "'" "', " ""
- build: ${SRC}
- gcc ${SRC} ${ARGS} -o formatter -O3
|