mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Create Makefile
Former-commit-id: c9e165304249d4a1f5f9c7827a959467fcfa02e1 [formerly 373d2297af614a8a4b2a14c63e598a83a8070c61] [formerly 5c6e1150f655a3bdc1fa666c9af71ed6fcb45c21 [formerly 9fbfd05600
]]
Former-commit-id: 09ec6ae83d3cd5d1d28c8b07620eecb0c5908bf9 [formerly d46a3c0540d83886dbac37745c461648d656dc67]
Former-commit-id: a433308906823c077290772f9f96ad07cd350255
This commit is contained in:
parent
951717d00e
commit
02ae6752c6
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