From 02ae6752c66242a358fe65d277de928add6a6bcd Mon Sep 17 00:00:00 2001 From: Zack Date: Mon, 8 Feb 2016 11:30:14 -0500 Subject: [PATCH] Create Makefile Former-commit-id: c9e165304249d4a1f5f9c7827a959467fcfa02e1 [formerly 373d2297af614a8a4b2a14c63e598a83a8070c61] [formerly 5c6e1150f655a3bdc1fa666c9af71ed6fcb45c21 [formerly 9fbfd05600da40b0391b81ff476afe2a3b321904]] Former-commit-id: 09ec6ae83d3cd5d1d28c8b07620eecb0c5908bf9 [formerly d46a3c0540d83886dbac37745c461648d656dc67] Former-commit-id: a433308906823c077290772f9f96ad07cd350255 --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4cd7a18 --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +CUR_DIR = $(shell bash -c 'pwd') +CUR_USER = $(shell bash -c 'echo $USER') +PORT ?= $(shell bash -c 'read -p "Port (e.g. 8001): " pwd; echo $$pwd') +EXTERNAL_ADDRESS ?= $(shell bash -c 'read -p "External address (e.g. something.com): " pwd; echo $$pwd') + +all: + echo The password is $(EXTERNAL_ADDRESS) + echo The port is $(PORT) + echo The cwd is $(CUR_DIR)