malloc: add myMalloc() and myFree()
[model-checker.git] / Makefile
index 139e9540884e5210dde95aa785153ea68e4e07e7..327bbb57ed9f841a4417b7918e34e03515bea73c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
-CC=gcc
+CC=g++
 BIN=libthreads
-SOURCE=libthreads.c schedule.c
-HEADERS=libthreads.h schedule.h common.h
-FLAGS=-Wall
+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 -ldl
 
 all: ${BIN}