Commit ab2ce730 authored by Shane Snyder's avatar Shane Snyder
Browse files

Makefile update

parent 45c4e4a4
CFLAGS += `pkg-config --cflags margo ssg`
LDFLAGS += `pkg-config --libs margo ssg`
all:: ssg-token-ring
all:: ssg-token-ring-solved
ssg-token-ring.o: ssg-token-ring.c
mpicc $(CFLAGS) -c ssg-token-ring.c
ssg-token-ring-solved.o: ssg-token-ring-solved.c
mpicc $(CFLAGS) -c ssg-token-ring-solved.c
ssg-token-ring: ssg-token-ring.o
mpicc ssg-token-ring.o -o ssg-token-ring $(LDFLAGS)
ssg-token-ring-solved: ssg-token-ring-solved.o
mpicc ssg-token-ring-solved.o -o ssg-token-ring-solved $(LDFLAGS)
clean::
rm -f ssg-token-ring ssg-token-ring.o
rm -f ssg-token-ring-solved ssg-token-ring-solved.o
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