-CC=gcc
+CC=g++
BIN=libthreads
-SOURCE=libthreads.c schedule.c libatomic.c
-HEADERS=libthreads.h schedule.h common.h libatomic.h
+SOURCE=libthreads.cc schedule.cc libatomic.cc userprog.c model.cc
+HEADERS=libthreads.h schedule.h common.h libatomic.h model.h
FLAGS=-Wall
all: ${BIN}