Skip to content
Snippets Groups Projects
Commit 80e7f477 authored by Nico Ramos's avatar Nico Ramos
Browse files

quase laa

parent 82c8a24a
Branches
No related tags found
No related merge requests found
File moved
File moved
File moved
File moved
File moved
File moved
CC = g++ CC = g++
CPPFLAGS = -g -std=c++20 CPPFLAGS = -g -std=c++20
SRC = $(wildcard *.cpp) SRC = $(wildcard src/*.cpp)
OBJ = $(SRC:.cpp=.o) OBJ = $(SRC:.cpp=.o)
...@@ -10,9 +10,10 @@ TARGET = exemplo ...@@ -10,9 +10,10 @@ TARGET = exemplo
all: $(TARGET) all: $(TARGET)
$(TARGET): $(OBJ) $(TARGET): $(OBJ)
$(CC) $(CPPFLAGS) -o $(TARGET) $(OBJ)
clean: clean:
rm -f *.o vgcore* rm -f src/*.o vgcore*
purge: clean purge: clean
rm -f $(TARGET) rm -f $(TARGET)
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#include <iomanip> #include <iomanip>
#include <string> #include <string>
#include "crc8.h" #include "../headers/crc8.h"
#define POLINOMIO 0x9B #define POLINOMIO 0x9B
......
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
#include <vector> #include <vector>
// include local // include local
#include "conexao.h" #include "../headers/conexao.h"
#include "crc8.h" #include "../headers/crc8.h"
#include "frame.h" #include "../headers/frame.h"
#include "macros.h" #include "../headers/macros.h"
#include "server.h" #include "../headers/server.h"
#include "client.h" #include "../headers/client.h"
using namespace std; using namespace std;
......
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment