Commit 25736288 authored by cdf009's avatar cdf009


parent 9e08a6cd
CC = gcc CC = gcc
CFLAGS = -std=gnu99 -Wall -g #-DDEBUG CFLAGS = -std=gnu99 -Wall -g #-DDEBUG
all: $(EXECS) char-threads mytime summation all: $(EXECS) char-threads mytime summation summation3 summation4
char-threads: char-threads.c char-threads: char-threads.c
$(CC) $(FLAGS) -pthread char-threads.c -o char-threads $(CC) $(FLAGS) -pthread char-threads.c -o char-threads
mytime: mytime.c mytime: mytime.c
$(CC) $(FLAGS) mytime.c -o mytime $(CC) $(FLAGS) mytime.c -o mytime
summation: summation.c summation: summation.c
$(CC) $(FLAGS) -lm -lpthread summation.c -o summation $(CC) $(FLAGS) -lm -lpthread summation.c -o summation
summation3: summation3.c
$(CC) $(FLAGS) -lm -lpthread summation3.c -o summation3
summation4: summation4.c
$(CC) $(FLAGS) -lm -lpthread summation4.c -o summation4
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