mirror of
https://gitlab.com/manzerbredes/loosely-coupled-dss.git
synced 2025-04-05 11:06:25 +02:00
Clean Makefile
This commit is contained in:
parent
4b321cfe80
commit
0ec9b3f334
1 changed files with 5 additions and 5 deletions
10
Makefile
10
Makefile
|
@ -1,14 +1,14 @@
|
|||
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)
|
||||
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): src/simulator.cc src/inputs.cc
|
||||
$(EXEC): $(wildcard src/*)
|
||||
$(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
|
||||
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)
|
Loading…
Add table
Reference in a new issue