CFLAG = -O2 -ansi -Wall -pg all: sensor %.exe: %.cpp ${CXX} $< ${CFLAG} -o $@ clean: rm -r *.exe sensor: test_sensors.exe $< > sim1.dat $< > sim2.dat $< > sim3.dat