
CFLAGS = -g          	## Use this if you want to debug
###CFLAGS = -O2		## Use this for "release"
DEFINES = -DDEBUGGA
INCLUDES = 
LIBS = -lstdc++

SIMULATION = Simulation.o ToyBoxFDTDbezhig.o 
CC=g++

.cc.o:
      #	$(CC) -c -Wa,-a=$(*).lst,-ggdb $(CFLAGS) $(DEFINES) $(INCLUDES) $<
	$(CC) -c $(CFLAGS) $(DEFINES) $(INCLUDES) $<

all::	Simulation


Simulation.o:	Simulation.cc  gnuplot_i.hpp 


ToyBoxFDTDbezhig.o:   ToyBoxFDTDbezhig.cc

 



Simulation: $(SIMULATION)
	$(CC) -o $@ $(CFLAGS) $(SIMULATION) $(LIBS)


clean:
	rm ./Simulation ./Simulation.o ./ToyBoxFDTDbezhig.o
