mirror of
https://gitlab.com/manzerbredes/loosely-coupled-dss.git
synced 2025-04-06 03:26:24 +02:00
14 lines
No EOL
450 B
Makefile
14 lines
No EOL
450 B
Makefile
EXEC := simulator
|
||
LIBS := ./libs/simgrid/build/lib
|
||
INCLUDES := ./libs/simgrid/build/include ./libs/simgrid/include libs/rapidjson/include
|
||
CC := g++ -lsimgrid $(addprefix -L , $(LIBS)) $(addprefix -I , $(INCLUDES))
|
||
|
||
|
||
$(EXEC): $(wildcard src/*)
|
||
$(CC) $^ -o $@
|
||
|
||
run: $(EXEC)
|
||
export LD_LIBRARY_PATH=$(addprefix :, $(LIBS)) && ./$(EXEC) 10 --cfg=network/bandwidth-factor:1.05 --cfg=network/model:CM02 -–cfg=network/crosstraffic:0
|
||
|
||
clean:
|
||
-rm $(EXEC)
|