Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96616418
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Dec 28, 23:36
Size
322 B
Mime Type
text/x-makefile
Expires
Mon, Dec 30, 23:36 (2 d)
Engine
blob
Format
Raw Data
Handle
23201292
Attached To
R11821 phys-743-lecture
Makefile
View Options
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
Log In to Comment