Skip to content

Commit

Permalink
FIX Makefile da Raíz
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielVanLoon committed Jul 24, 2020
1 parent d54dd3b commit c0cacd6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ all:
server

server:
g++ -o server server_src/message.cpp server_src/clients.cpp server_src/connection.cpp server_src/main.cpp -lpthread
g++ -o server server_src/channel.cpp server_src/decodec.cpp server_src/message.cpp server_src/clients.cpp server_src/connection.cpp server_src/main.cpp -lpthread

client:
g++ -o client client_src/terminal.cpp client_src/chat.cpp client_src/main.cpp -pthread
g++ -o client client_src/terminal.cpp client_src/chat.cpp client_src/codec.cpp client_src/main.cpp -pthread

server_run:
echo "Server running on " $(shell pwd)
./server ${PORT} ${nLISTEN} || true

client_run:
echo "Client running on " $(shell pwd)
./client ${host} ${PORT} || true
./client

0 comments on commit c0cacd6

Please sign in to comment.