Logo AND Algorithmique Numérique Distribuée

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