Parallel Programming - Tidied things up
[matches/honours.git] / course / semester2 / pprog / assignment1 / single-thread / Makefile
index fbece84..f34eab2 100644 (file)
@@ -1,9 +1,10 @@
-#Makefile for nbody program - single threaded version
-
+# Makefile for nbody program
+# Compiles on Ubuntu 12.04 and Debian 6.0.4
+# NOTE: This file is identical for both the single-threaded and multi-threaded versions of the program
 CXX = gcc
-LIBRARIES = -lm -lGL -lglut -lGLU
+LIBRARIES = -lm -lGL -lglut -lGLU -lpthread
 FLAGS = --std=c99 -Wall -pedantic -g
-PREPROCESSOR_FLAGS = 
+PREPROCESSOR_FLAGS = -fopenmp
 SINGLE_THREAD_OBJ = main.o nbody.o graphics.o
 LINK_OBJ = main.o nbody.o graphics.o
 

UCC git Repository :: git.ucc.asn.au