niphredil/src/main.c

22 lines
548 B
C

#include <stdio.h>
#include <elemmire.h>
#define PROJECT_NAME "Niphredil"
int main(int argc, char **argv) {
if(argc != 1) {
printf("%s takes no arguments.\n", argv[0]);
return 1;
}
printf("This is project %s.\n", PROJECT_NAME);
#ifdef NDEBUG
printf("%s has been compiled in 'Release' configuration.\n", PROJECT_NAME);
#else
printf("%s has been compiled in 'Debug' configuration.\n", PROJECT_NAME);
#endif
printf("%s depends on Elemmire:\n", PROJECT_NAME);
return elemmire(argc, argv);
}