Makefile 845 B

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