CXXFLAGS = -g -Wall -pedantic -O2 CXX = g++ OBJECTS = antsim.o ant.o map.o all: antsim antsim: $(OBJECTS) $(CXX) $(CXXFLAGS) -o antsim $(OBJECTS) antsim.o: antsim.hh ant.hh map.hh ant.o: antsim.hh ant.hh map.hh map.o: antsim.hh map.hh clean: -rm *.o *~ *.core