feat: functional makefile and tmp test program

This commit is contained in:
hexlocation 2025-02-07 13:05:42 +01:00
parent f4e9293e94
commit b054bb09ab
Signed by: hex
GPG key ID: A19EFFAAF8C00FCF
5 changed files with 38 additions and 5 deletions

View file

@ -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"