Page MenuHomec4science

Makefile
No OneTemporary

File Metadata

Created
Sat, Dec 28, 23:36

Makefile

CC=gcc
CFLAGS=-Wall -Werror -g -fopenmp
LDFLAGS=-lm
EXECUTABLES=hello reduction scheduler
all: $(EXECUTABLES)
hello: hello.c
$(CC) $< $(CFLAGS) -o $@
reduction: reduction.c
$(CC) $< $(CFLAGS) -o $@
scheduler: scheduler.c timing.o
$(CC) $< timing.o $(CFLAGS) -o $@ $(LDFLAGS)
clean:
rm -f $(EXECUTABLES) timing.o

Event Timeline