add gitignore and update makefile to ignore artifacts

This commit is contained in:
Nayan
2025-05-05 20:37:53 -04:00
parent 417ad87628
commit 8efb833cca
2 changed files with 4 additions and 2 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*.out
*.o

View File

@@ -1,8 +1,8 @@
all: webserver.o all: webserver.o
gcc -o webserver webserver.o gcc -o webserver.out webserver.o
webserver: webserver.c webserver: webserver.c
gcc -c webserver webserver.c gcc -c webserver webserver.c
clean: clean:
rm -f webserver webserver.o rm -f *.o *.out