added debug compilations
This commit is contained in:
parent
636bfe7a5e
commit
76dd08c465
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
*.out
|
||||
*.swp
|
||||
*.o
|
||||
macrod
|
||||
macrod*
|
||||
|
||||
5
makefile
5
makefile
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user