Project

General

Profile

Download (335 Bytes) Statistics
| Branch: | Tag: | Revision:
CC = gcc

HEADERS = $(wildcard *.h)
SOURCES = $(wildcard *.c)
OBJECTS = $(patsubst %.c,%.o,$(SOURCES))

CFLAGS += -O2 -Wall -std=c99
CWD := $(shell pwd)

all: server client

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

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

clean:
@rm -f *.o
@rm -f server
@rm -f client
(1-1/3)