fix when echo -e isnt supported
This commit is contained in:
parent
40bc9f3068
commit
34bdbf8072
1 changed files with 6 additions and 7 deletions
13
Makefile
13
Makefile
|
@ -1,6 +1,3 @@
|
|||
ECHO = echo -e
|
||||
CAT = cat
|
||||
|
||||
HEADER = header.bat
|
||||
PYTHON = main.py
|
||||
|
||||
|
@ -9,7 +6,9 @@ OUTPUT = na.bat
|
|||
all: build
|
||||
|
||||
build:
|
||||
$(CAT) $(HEADER) > $(OUTPUT)
|
||||
$(ECHO) "\n::python_beg" >> $(OUTPUT)
|
||||
$(CAT) $(PYTHON) >> $(OUTPUT)
|
||||
$(ECHO) "::python_end" >> $(OUTPUT)
|
||||
cat $(HEADER) > $(OUTPUT)
|
||||
echo "" >> $(OUTPUT)
|
||||
echo "::python_beg" >> $(OUTPUT)
|
||||
cat $(PYTHON) >> $(OUTPUT)
|
||||
echo "" >> $(OUTPUT)
|
||||
echo "::python_end" >> $(OUTPUT)
|
||||
|
|
Loading…
Reference in a new issue