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