threads_internal: add 'thread_switch_to_master()' internally
[model-checker.git] / Makefile
index 2196e9029430197595029cda66489761922eae56..7a442bdf466ad0ac405e507de37382cc33eee9a0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
 CC=g++
 BIN=libthreads
-SOURCE=libthreads.c schedule.c libatomic.c userprog.c model.c
-HEADERS=libthreads.h schedule.h common.h libatomic.h model.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 threads_internal.h
+FLAGS=-Wall -ldl
 
 all: ${BIN}