1 #Makefile for nbody program
3 CXX = gcc --std=c99 -Wall -pedantic -g -lm -lSDL -lGL
4 OBJ = main.o nbody.o graphics.o
11 $(CXX) -o $(BIN) $(OBJ)
17 $(RM) $(BIN) $(OBJ) $(LINKOBJ)
19 clean_full: #cleans up all backup files
20 $(RM) $(BIN) $(OBJ) $(LINKOBJ)