Skip to content

Instantly share code, notes, and snippets.

@brntbeer
Forked from marksands/gist:204713
Created October 8, 2009 04:57
Show Gist options
  • Save brntbeer/204739 to your computer and use it in GitHub Desktop.
Save brntbeer/204739 to your computer and use it in GitHub Desktop.
all: main
main: Simulator.o Environment.o Behavior.o Cell.o Circle.o Formation.o Neighborhood.o Robot.o Vector.o
g++ -framework OpenGL -framework GLUT -framework Cocoa Simulator.o Behavior.o Cell.o Circle.o Environment.o Formation.o Neighborhood.o Robot.o Vector.o -o Simulator
Simulator.o: Simulator.cpp
g++ -c Simulator.cpp
Behavior.o: Behavior.cpp
g++ -c Behavior.cpp
Cell.o: Cell.cpp
g++ -c Cell.cpp
Circle.o: Circle.cpp
g++ -c Circle.cpp
Environment.o: Environment.cpp
g++ -c Environment.cpp
Formation.o: Formation.cpp
g++ -c Formation.cpp
Neighborhood.o: Neighborhood.cpp
g++ -c Neighborhood.cpp
Robot.o: Robot.cpp
g++ -c Robot.cpp
Vector.o: Vector.cpp
g++ -c Vector.cpp
clean:
rm -rf *o Simulator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment