Page MenuHomec4science

Makefile
No OneTemporary

File Metadata

Created
Thu, Nov 28, 18:44

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