libthreads: split into libthreads and threads
[c11tester.git] / Makefile
index 6c52f671d92023ca361bf395fbe5677986c8e3a4..bdd83482c4c8b699e3a7c6b83cdfc5f349f046d6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
 CC=g++
 BIN=libthreads
-SOURCE=libthreads.c schedule.c libatomic.c 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}