malloc: add myMalloc() and myFree()
[model-checker.git] / Makefile
index 9e50d84ba53157c49d4a2f97f08fc3d0529bd76c..327bbb57ed9f841a4417b7918e34e03515bea73c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
 CC=g++
 BIN=libthreads
-SOURCE=libthreads.cc schedule.cc libatomic.cc userprog.c model.cc
+SOURCE=libthreads.cc schedule.cc libatomic.cc userprog.c model.cc malloc.c
 HEADERS=libthreads.h schedule.h common.h libatomic.h model.h
-FLAGS=-Wall
+FLAGS=-Wall -ldl
 
 all: ${BIN}