1 #Makefile for nbody program
3 CXX = gcc --std=c99 -Wall -pedantic -g -lm -lGL -lglut -lGLU -lpthread -fopenmp
4 LINK_OBJ = main.o nbody.o graphics.o
9 $(CXX) -o $(BIN) $(OBJ)
15 $(RM) $(BIN) $(OBJ) $(LINKOBJ)
17 clean_full: #cleans up all backup files
18 $(RM) $(BIN) $(OBJ) $(LINKOBJ)