Browse Source

Add make init

Olivier Marty 8 years ago
parent
commit
114a3f6e4e
1 changed files with 6 additions and 1 deletions
  1. 6 1
      Makefile

+ 6 - 1
Makefile

@@ -10,7 +10,12 @@ main: $(SOURCES:.cpp=.o)
 %.o: %.cpp
 	$(CPP) -o $@ -c $< $(INC)
 
-.PHONY: clean mrproper
+.PHONY: clean mrproper init
+
+init:
+	@echo '# please run the following command'
+	@echo '# source /dev/stdin <<< "$$(make init)"'
+	@echo 'export LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(GUROBI_DIR)/lib'
 
 clean:
 	rm -f $(SOURCES:.cpp=.o)