Makefile: add debug compilation flag
authorBrian Norris <banorris@uci.edu>
Mon, 16 Apr 2012 05:32:55 +0000 (22:32 -0700)
committerBrian Norris <banorris@uci.edu>
Mon, 16 Apr 2012 05:32:55 +0000 (22:32 -0700)
Makefile

index 7a442bdf466ad0ac405e507de37382cc33eee9a0..7e4f5b6693f19badbc85c531f1ec7aba0ae81961 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ CC=g++
 BIN=libthreads
 SOURCE=libthreads.cc schedule.cc libatomic.cc userprog.c model.cc malloc.c
 HEADERS=libthreads.h schedule.h common.h libatomic.h model.h threads_internal.h
-FLAGS=-Wall -ldl
+FLAGS=-Wall -ldl -g
 
 all: ${BIN}