#
# sample Makefile for gcc with OpenMP
#
# usage examples:
#   "make hello" to compile "hello.c" to "hello" 
#

CSTD = -std=c99
# uncomment if using more-recent gcc
#CSTD = -std=c11

OPT = -O3
CC = gcc
CFLAGS = $(OPT) -Wall -pedantic -fopenmp $(CSTD)
LDFLAGS = -lm