This commit is contained in:
parent
5f748cb4d8
commit
e0f2912993
4
Makefile
4
Makefile
@ -1,7 +1,7 @@
|
|||||||
# Compiler and flags
|
# Compiler and flags
|
||||||
CPPC = g++
|
CPPC = g++
|
||||||
CPPC_FLAGS = -std=c++23 -s -O3 -Wall -Wextra -Wno-write-strings
|
CPPC_FLAGS = -std=c++23 -s -O3 -Wall -Wextra -Wno-write-strings -lncurses
|
||||||
DEBUG_FLAGS = -ggdb -std=c++23 -Wall -Wextra -Wno-write-strings
|
DEBUG_FLAGS = -ggdb -std=c++23 -Wall -Wextra -Wno-write-strings -lncurses
|
||||||
|
|
||||||
|
|
||||||
SRC_PATH := src
|
SRC_PATH := src
|
||||||
|
7
src/const.h
Normal file
7
src/const.h
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
#ifndef NAME
|
||||||
|
|
||||||
|
#define NAME "ParaDocs"
|
||||||
|
#define VERSION "0.0.1"
|
||||||
|
|
||||||
|
#endif
|
@ -1,11 +1,9 @@
|
|||||||
#include "color.h"
|
#include "color.h"
|
||||||
|
#include "const.h"
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#define NAME "ParaDocs"
|
|
||||||
#define VERSION "0.0.1"
|
|
||||||
|
|
||||||
void PrintHelp() {
|
void PrintHelp() {
|
||||||
std::cout << RED R"( ____ ____
|
std::cout << RED R"( ____ ____
|
||||||
/\ _`\ /\ _`\
|
/\ _`\ /\ _`\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user