mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Create Makefile
This commit is contained in:
parent
8fa64d6a76
commit
9fbfd05600
9
Makefile
Normal file
9
Makefile
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user