added debug compilations

This commit is contained in:
Alessandro Mauri 2020-04-23 23:13:17 +02:00
parent 636bfe7a5e
commit 76dd08c465
2 changed files with 5 additions and 2 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
*.out
*.swp
*.o
macrod
macrod*

View File

@ -3,7 +3,10 @@ CFLAGS = -Wall -Werror -pedantic -O2
macrod: macrod.o
debug:
gcc $(CFLAGS) -g macrod.c -o macrod_debug
macrod.o: macrod.c
clean:
rm macrod *.o
rm macrod *.o macrod_debug 2> /dev/null