summaryrefslogtreecommitdiff
path: root/ns3-simulations/simulator/Makefile
diff options
context:
space:
mode:
authorLoic Guegan <manzerberdes@gmx.com>2019-05-04 10:32:19 +0200
committerLoic Guegan <manzerberdes@gmx.com>2019-05-04 10:32:19 +0200
commitf6d01996eb72fc71681efd4aacd8d8cb903be753 (patch)
tree0a83ce1a2d0648aaab84680a7e5b75acee585542 /ns3-simulations/simulator/Makefile
parent89a5ee979d18e3897bd96f3341f97720a4655f7a (diff)
Nix integration
Diffstat (limited to 'ns3-simulations/simulator/Makefile')
-rw-r--r--ns3-simulations/simulator/Makefile25
1 files changed, 0 insertions, 25 deletions
diff --git a/ns3-simulations/simulator/Makefile b/ns3-simulations/simulator/Makefile
deleted file mode 100644
index a9cee83..0000000
--- a/ns3-simulations/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)))))
-NS3_VERSION=$(shell cat ${NS3_PATH}/VERSION)
-
-##### 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++ -D NS3_VERSION=${NS3_VERSION} $(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