Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
New platform files (just add AS tag)
[simgrid.git] / examples / cxx / explicitDestination / makefile
1 CXX = g++
2 PREFIX = /home/mcherier/com/loria/SimGridX
3 INCLUDES =-I$(PREFIX)/lib -I$(PREFIX)/examples/explicitDestination
4 SRCDIR = $(PREFIX)/examples/explicitDestination
5 CXXFLAGS = -Wall -pedantic -D_DEBUG $(INCLUDES)
6 LDFLAGS = -L$(PREFIX)/lib 
7 LDLIBS = -lSimGridX 
8
9 PROG = explicitDestination
10
11 OBJECTS = BasicTask.o FinalizeTask.o Slave.o Forwarder.o Master.o Main.o
12
13 all: $(OBJECTS)
14         $(CXX) $(OBJECTS) $(LDFLAGS) $(LDLIBS) -o $(PROG) 
15
16 %.o: $(SRCDIR)/%.cxx
17         $(CXX) -c $(CXXFLAGS) $(SRCDIR)/$*.cxx
18         
19 clean:
20         rm *.o