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 \
- -Wpadded -Wall -Wfloat-equal -Wformat=2 -Wcast-align=strict -Winit-self \
- -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 \
- -Walloca -Wconversion -Wwrite-strings -Wundef -Wredundant-decls -Wextra
- SRC = Formatter.c
- run: build
- ./formatter 77 input_cpp ", " ""
- build: ${SRC}
- gcc ${SRC} ${ARGS} -o formatter -O3
|