|
@@ -1,77 +0,0 @@
|
|
|
-all: tetris
|
|
|
-
|
|
|
-run: tetris
|
|
|
- ./tetris
|
|
|
-
|
|
|
-tetris: *.c
|
|
|
- gcc -o tetris *.c -lncursesw \
|
|
|
- -Wall \
|
|
|
- -Walloc-zero \
|
|
|
- -Walloca \
|
|
|
- -Wanalyzer-too-complex \
|
|
|
- -Warith-conversion \
|
|
|
- -Warray-bounds=2 \
|
|
|
- -Warray-parameter \
|
|
|
- -Wattribute-alias=2 \
|
|
|
- -Wbad-function-cast \
|
|
|
- -Wbidi-chars=any \
|
|
|
- -Wcast-align=strict \
|
|
|
- -Wcast-qual \
|
|
|
- -Wconversion \
|
|
|
- -Wdate-time \
|
|
|
- -Wdisabled-optimization \
|
|
|
- -Wdouble-promotion \
|
|
|
- -Wduplicated-branches \
|
|
|
- -Wduplicated-cond \
|
|
|
- -Wenum-compare \
|
|
|
- -Wenum-conversion \
|
|
|
- -Werror \
|
|
|
- -Wextra \
|
|
|
- -Wfloat-equal \
|
|
|
- -Wformat-overflow=2 \
|
|
|
- -Wformat-signedness \
|
|
|
- -Wformat-truncation=2 \
|
|
|
- -Wformat=2 \
|
|
|
- -Wframe-larger-than=8388608 \
|
|
|
- -Wimplicit-fallthrough=5 \
|
|
|
- -Winfinite-recursion \
|
|
|
- -Winit-self \
|
|
|
- -Winvalid-pch \
|
|
|
- -Wjump-misses-init \
|
|
|
- -Wlarger-than=1073741824 \
|
|
|
- -Wlogical-op \
|
|
|
- -Wmissing-braces \
|
|
|
- -Wmissing-declarations \
|
|
|
- -Wmissing-include-dirs \
|
|
|
- -Wmissing-prototypes \
|
|
|
- -Wmultichar \
|
|
|
- -Wnarrowing \
|
|
|
- -Wnested-externs \
|
|
|
- -Wnormalized=nfkc \
|
|
|
- -Wnull-dereference \
|
|
|
- -Wold-style-definition \
|
|
|
- -Woverlength-strings \
|
|
|
- -Wredundant-decls \
|
|
|
- -Wshadow \
|
|
|
- -Wshift-overflow=2 \
|
|
|
- -Wsign-conversion \
|
|
|
- -Wstack-protector \
|
|
|
- -Wstack-usage=8388608 \
|
|
|
- -Wstrict-overflow=2 \
|
|
|
- -Wstrict-prototypes \
|
|
|
- -Wstringop-overflow=4 \
|
|
|
- -Wswitch-enum \
|
|
|
- -Wtrampolines \
|
|
|
- -Wtrivial-auto-var-init \
|
|
|
- -Wundef \
|
|
|
- -Wunreachable-code \
|
|
|
- -Wunused-const-variable=2 \
|
|
|
- -Wuse-after-free=3 \
|
|
|
- -Wvla \
|
|
|
- -Wwrite-strings \
|
|
|
- -pedantic \
|
|
|
- -pedantic-errors \
|
|
|
- -O3
|
|
|
-
|
|
|
-clean:
|
|
|
- rm -f tetris
|