EXE = nomad_plot.exe COMPILATOR = g++ COMPILATOR_OPTIONS = -ansi -O2 L1 = $(NOMAD_HOME)/lib/nomad.a LIBS = $(L1) -lc -lm INCLUDE = -I $(NOMAD_HOME)/src -I. COMPILE = $(COMPILATOR) $(COMPILATOR_OPTIONS) $(INCLUDE) -c OBJS = nomad_plot.o $(EXE): $(OBJS) $(COMPILATOR) -o $(EXE) $(OBJS) $(LIBS) $(COMPILATOR_OPTIONS) nomad_plot.o: nomad_plot.cpp $(L1) $(COMPILE) nomad_plot.cpp clean: @echo " cleaning obj files" @rm -f $(OBJS) del: @echo " cleaning trash files" @rm -f core *~ @echo " cleaning obj files" @rm -f $(OBJS) @echo " cleaning exe file" @rm -f $(EXE)