X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=course%2Fsemester2%2Fpprog%2Fassignment1%2Fsingle-thread%2FMakefile;fp=course%2Fsemester2%2Fpprog%2Fassignment1%2Fsingle-thread%2FMakefile;h=f34eab2af9ab273f8f14ab0a15e7d641c3971c66;hb=c2c6a38870351a5702913ce8a97c25c51662a59c;hp=fbece84847b3d5cd359112e0ac4f37ac73242190;hpb=0f1c535d8b786d3cf5b28231135fe1172571425f;p=matches%2Fhonours.git diff --git a/course/semester2/pprog/assignment1/single-thread/Makefile b/course/semester2/pprog/assignment1/single-thread/Makefile index fbece848..f34eab2a 100644 --- a/course/semester2/pprog/assignment1/single-thread/Makefile +++ b/course/semester2/pprog/assignment1/single-thread/Makefile @@ -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