Added makefile and gitignore

This commit is contained in:
june 2025-02-16 09:33:43 +13:00
parent cd393154d9
commit 3800d3283f
No known key found for this signature in database
3 changed files with 22 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
out/**

11
main.c Normal file
View File

@ -0,0 +1,11 @@
#include <ncurses.h>
int main() {
initscr(); /* Start curses mode */
printw("Hello World !!!"); /* Print Hello World */
refresh(); /* Print it on to the real screen */
getch(); /* Wait for user input */
endwin(); /* End curses mode */
return 0;
}

10
makefile Normal file
View File

@ -0,0 +1,10 @@
all:
gcc main.c -lncurses -o out/SecuSend
clean:
rm -rf out/*
run:
./out/SecuSend