Commit 53506716 authored by Taddeüs Kroes's avatar Taddeüs Kroes

- Makefile added.

parent 6c5a5c29
PROG = philosophers
CC = gcc
CFLAGS = -ansi -Wall -Wextra -O3 -pthread
OFILES = host.o
RM = rm -f
$(PROG): $(OFILES)
$(CC) -o $(PROG) $(OFILES) $(CFLAGS)
%.o: %.c
$(CC) -c $< $(CFLAGS)
clean:
$(RM) *.o $(PROG)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment