Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93439145
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
Thu, Nov 28, 18:44
Size
322 B
Mime Type
text/x-makefile
Expires
Sat, Nov 30, 18:44 (2 d)
Engine
blob
Format
Raw Data
Handle
22635092
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