You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
cancel dcb00be880 Add test basic 'a' function 6 years ago
examples Updated examples 6 years ago
.clang-format Change .clang-format to not reflow comments 6 years ago
.gitignore Init with basic test 6 years ago
Makefile Change to only link ncurses in tui 6 years ago
README.md Extra build instructions 6 years ago
base.h Add test basic 'a' function 6 years ago
cli_main.c Change to use better error message for >1 file arg 6 years ago
field.c Add test basic 'a' function 6 years ago
field.h Add test basic 'a' function 6 years ago
sim.c Add test basic 'a' function 6 years ago
sim.h Add sim.h/.c add stub for orca_run() 6 years ago
tui_main.c Change to only link ncurses in tui 6 years ago

README.md

A basic starting point for an ncurses C99 program.

Build

make
build/debug/acro

Make

  • make debug if you make some mistake in the code, it's a lot easier to catch it when building as debug it also builds the debug symbols into the binary, so you can use a c/c++ debugger (like gdb or lldb) to step through the program and see the source code as it executes
  • make release will turn most optimizations on and strip out all of the unnecessary stuff which is the one you'd usually use for real or for giving to other people
  • make clean to blow away the build/ directory
  • make debug_cli will make only orca.
  • make debug_tui will make only orca_tui.