libthreads: split into libthreads and threads
[model-checker.git] / Makefile
index 9e50d84ba53157c49d4a2f97f08fc3d0529bd76c..bdd83482c4c8b699e3a7c6b83cdfc5f349f046d6 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
-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 threads.cc
+HEADERS=libthreads.h schedule.h common.h libatomic.h model.h threads_internal.h
+FLAGS=-Wall -ldl -g
 
 all: ${BIN}