mirror of
https://gitlab.com/manzerbredes/loosely-coupled-dss.git
synced 2025-04-06 03:26:24 +02:00
14 lines
No EOL
427 B
Makefile
14 lines
No EOL
427 B
Makefile
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
|
||
$(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)
|