Added stuff for gprof and added the resulting gmon.out to gitignore

master
TuDatTr 2021-01-14 15:44:12 +01:00
parent 160d85aa5c
commit 4a84229678
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
*.o *.o
TAGS TAGS
mdriver mdriver
gmon.out

View File

@ -2,7 +2,7 @@
# Students' Makefile for the Malloc Lab # Students' Makefile for the Malloc Lab
# #
CC = gcc CC = gcc
CFLAGS = -Wall -O2 -m32 -g03 CFLAGS = -Wall -O2 -m32 -g03 -pg
OBJS = mdriver.o mm.o memlib.o fsecs.o fcyc.o clock.o ftimer.o OBJS = mdriver.o mm.o memlib.o fsecs.o fcyc.o clock.o ftimer.o