#include <stdlib.h>
#include <stdio.h>

#include "../src/prompt.h"

int main(void)
{
  for (;;)
  {
    char *line = prompt("> ");
    if (line == NULL)
      break;

    printf("You wrote '%s'\n", line);
    free(line);
  }

  prompt_free();
  return 0;
}

#include <stdlib.h>
#include <stdio.h>

#ifdef DEBUG
#  include "../src/prompt.h"
#else
#  include <prompt.h>
#endif

int main(void)
{
  for (;;)
  {
    char *line = prompt("> ");
    if (line == NULL)
      break;

    printf("You wrote '%s'\n", line);
    free(line);
  }

  prompt_free();
  return 0;
}

Set header location depending on flags
Set header location depending on flags
