diff options
| author | Loic Guegan <manzerberdes@gmx.com> | 2019-04-24 16:49:40 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerberdes@gmx.com> | 2019-04-24 16:49:40 +0200 |
| commit | 1da73fb60964a92442d66454265897259120582a (patch) | |
| tree | 3e64e0083ba73ad6c5b2aceca42ce5de726a197e /ns3-simulator/Makefile | |
| parent | 39507e0bb50cc77a377a506f8aee73d7ee306b0e (diff) | |
Add simulation scripts
Diffstat (limited to 'ns3-simulator/Makefile')
| -rw-r--r-- | ns3-simulator/Makefile | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ns3-simulator/Makefile b/ns3-simulator/Makefile deleted file mode 100644 index d7bf341..0000000 --- a/ns3-simulator/Makefile +++ /dev/null @@ -1,25 +0,0 @@ - -EXEC=simulator - -##### NS3 g++ Arguments -NS3_ARGS= -D NS3_LOG_ENABLE -L ${NS3_PATH}/build/lib -I ${NS3_PATH}/build/ -NS3_ARGS+=$(addprefix -l, $(subst lib,,$(subst .so,,$(notdir $(wildcard ${NS3_PATH}/build/lib/*.so))))) - -##### Source Files -SRC=main.cc modules/platform.cc modules/energy.cc modules/callbacks.cc - - -all: $(EXEC) - - -$(EXEC): $(SRC) - @echo -e "\e[32mDon't forget to define NS3_PATH env variable !\e[0m" - g++ $(NS3_ARGS) $(SRC) -o $@ - @echo -e "\e[32mRun the following command before running $(EXEC):\e[0m" - @echo -e "\e[32mexport LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${NS3_PATH}/build/lib\e[0m" - -clean: - - rm $(EXEC) - - -.PHONY: clean |
