CC = gcc
CFLAGS = -Wall
SRC_DIR = src/main/c
BIN_DIR = target/bin

all: $(BIN_DIR)/helloClient $(BIN_DIR)/helloServeur

$(BIN_DIR)/helloClient: $(SRC_DIR)/helloClient.c
	$(CC) $(CFLAGS) $(SRC_DIR)/helloClient.c -o $(BIN_DIR)/helloClient

$(BIN_DIR)/helloServeur: $(SRC_DIR)/helloServeur.c
	$(CC) $(CFLAGS) $(SRC_DIR)/helloServeur.c -o $(BIN_DIR)/helloServeur

clean:
	rm -rf target/bin/*
