Client-Server-Assignment / Makefile
Makefile
Raw
CC=gcc
CFLAGS= -Wall -pedantic -pthread -std=gnu99 -g

.PHONY: all clean careful
.DEFAULT_GOAL := all

all: client server

client: client.c
	$(CC) $(CFLAGS) client.c -o client

server: server.c
	$(CC) $(CFLAGS) server.c -o server

clean:
	rm -f *.o