feat: functional makefile and tmp test program
This commit is contained in:
parent
f4e9293e94
commit
b054bb09ab
5 changed files with 38 additions and 5 deletions
8
Makefile
8
Makefile
|
@ -1,8 +1,16 @@
|
|||
BINARY=renga
|
||||
CPP=g++
|
||||
HOST=192.168.122.254
|
||||
|
||||
all: build
|
||||
|
||||
build:
|
||||
$(CPP) src/main.cpp -o $(BINARY)
|
||||
|
||||
run:
|
||||
@echo "tranferring over all files..."
|
||||
@scp -r ./* user@$(HOST):~/dev
|
||||
@echo "executing on remote host..."
|
||||
ssh user@$(HOST) "cd dev;echo '### compiling';make;echo '### running';./renga"
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue