# $Id: Makefile 4315 2013-09-16 16:04:46Z amweeden06 $ CC = gcc CFLAGS = -Wall -gstabs+ --pedantic LDFLAGS = -fPIC -lrt EXPENDABLES = serial openmp serial: rabbits.c $(CC) $(CFLAGS) -I. -L. $< -o $@ $(LDFLAGS) openmp: rabbits.c $(CC) $(CFLAGS) -fopenmp -DOPENMP -I. -L. $< -o $@ $(LDFLAGS) all: @make clean serial openmp clean: rm -f $(EXPENDABLES)