22 lines
363 B
Bash
Executable File
22 lines
363 B
Bash
Executable File
#!/bin/sh
|
|
|
|
mkdir -p bin/debug
|
|
|
|
language='
|
|
-std=c++17
|
|
-fno-rtti
|
|
-fno-exceptions
|
|
-fno-non-call-exceptions
|
|
-fno-common'
|
|
# force each global variable to be only defined once
|
|
|
|
|
|
warnings='
|
|
-Wall
|
|
-Wextra
|
|
-Wpedantic
|
|
-Wmultiple-inheritance
|
|
-Wvirtual-inheritance' #-fanalyzer
|
|
|
|
g++ -o bin/debug/famt $language -g -O0 -march=native $warnings -pipe *.cpp -lncursesw
|