loosely-coupled-dss/Makefile

14 lines
427 B
Makefile
Raw Normal View History

2021-05-05 16:42:11 +02:00
EXEC := simulator
SG_LIBS := ./libs/simgrid/build/lib
SG_INC := -I ./libs/simgrid/build/include -I ./libs/simgrid/include -I libs/rapidjson/include
CC := g++ -lsimgrid $(SG_INC) -L $(SG_LIBS)
$(EXEC): src/simulator.cc src/inputs.cc
2021-05-05 16:42:11 +02:00
$(CC) $^ -o $@
run: $(EXEC)
export LD_LIBRARY_PATH=$(SG_LIBS) && ./$(EXEC) 10 --cfg=network/bandwidth-factor:1.05 --cfg=network/model:CM02 -cfg=network/crosstraffic:0
clean:
-rm $(EXEC)