X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ed5b6e45b9957b00a2c41f01ce9da418da78cecb..8bbd1fffddc380176e537b8c0d0542536e8d8a63:/examples/cxx/explicitDestination/makefile diff --git a/examples/cxx/explicitDestination/makefile b/examples/cxx/explicitDestination/makefile new file mode 100644 index 0000000000..ce084d02dd --- /dev/null +++ b/examples/cxx/explicitDestination/makefile @@ -0,0 +1,20 @@ +CXX = g++ +PREFIX = /home/mcherier/com/loria/SimGridX +INCLUDES =-I$(PREFIX)/lib -I$(PREFIX)/examples/explicitDestination +SRCDIR = $(PREFIX)/examples/explicitDestination +CXXFLAGS = -Wall -pedantic -D_DEBUG $(INCLUDES) +LDFLAGS = -L$(PREFIX)/lib +LDLIBS = -lSimGridX + +PROG = explicitDestination + +OBJECTS = BasicTask.o FinalizeTask.o Slave.o Forwarder.o Master.o Main.o + +all: $(OBJECTS) + $(CXX) $(OBJECTS) $(LDFLAGS) $(LDLIBS) -o $(PROG) + +%.o: $(SRCDIR)/%.cxx + $(CXX) -c $(CXXFLAGS) $(SRCDIR)/$*.cxx + +clean: + rm *.o \ No newline at end of file